From ed23a882796d8a74bf559bd93c39cc938845d5ef Mon Sep 17 00:00:00 2001 From: Dooho Yi Date: Wed, 24 Jun 2020 22:53:04 +0900 Subject: [PATCH] =?UTF-8?q?/=20=E2=80=98content/posts/cloud/20200624T22081?= =?UTF-8?q?9+0900=5Fretry/index.rst=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20200624T220819+0900_retry/index.rst | 192 +++++++++--------- 1 file changed, 96 insertions(+), 96 deletions(-) diff --git a/content/posts/cloud/20200624T220819+0900_retry/index.rst b/content/posts/cloud/20200624T220819+0900_retry/index.rst index 3cbd225..509802d 100644 --- a/content/posts/cloud/20200624T220819+0900_retry/index.rst +++ b/content/posts/cloud/20200624T220819+0900_retry/index.rst @@ -30,18 +30,18 @@ cat /etc/nginx/conf.d/nopost.hopto.org.d/proxy.conf .. code-block:: nginx - location / { - proxy_pass https://192.168.1.110; - proxy_set_header Host $host; +location / { + proxy_pass https://192.168.1.110; + proxy_set_header Host $host; - if ($scheme = http) - { - rewrite ^ https://$server_name$request_uri? permanent; - } + if ($scheme = http) + { + rewrite ^ https://$server_name$request_uri? permanent; + } - proxy_buffering off; - tcp_nodelay on; - } + proxy_buffering off; + tcp_nodelay on; +} *nopost.hopto.org is dedicated only for this proxy server. no other app is using it.* @@ -53,91 +53,91 @@ cat /etc/ssowat/conf.json .. code-block:: json - { - "additional_headers": { - "Auth-User": "uid", - "Email": "mail", - "Name": "cn", - "Remote-User": "uid" - }, - "domains": [ - "nopost.hopto.org", - "nomatter.hopto.org", - "nosignal.hopto.org" - ], - "portal_domain": "nosignal.hopto.org", - "portal_path": "/yunohost/sso/", - "protected_regex": [], - "protected_urls": [], - "redirected_regex": { - "nosignal.hopto.org/yunohost[\\/]?$": "https://nosignal.hopto.org/yunohost/sso/" - }, - "redirected_urls": {}, - "skipped_regex": [ - "nopost%.hopto%.org/%.well%-known/.*", - "^[^/]*/%.well%-known/acme%-challenge/.*$", - "^[^/]*/%.well%-known/autoconfig/mail/config%-v1%.1%.xml.*$" - ], - "skipped_urls": [ - "nosignal.hopto.org/pad", - "nopost.hopto.org/yunohost/admin", - "nopost.hopto.org/yunohost/api", - "nomatter.hopto.org/yunohost/admin", - "nomatter.hopto.org/yunohost/api", - "nosignal.hopto.org/yunohost/admin", - "nosignal.hopto.org/yunohost/api", - ], - "unprotected_regex": [], - "unprotected_urls": [ - "nosignal.hopto.org/flarum", - "nosignal.hopto.org/gitlab", - "nosignal.hopto.org/grav", - "nosignal.hopto.org/jupyterlab", - "nosignal.hopto.org/kanboard/jsonrpc.php", - "nomatter.hopto.org", - "nosignal.hopto.org/nextcloud", - "nosignal.hopto.org/SOGo", - "nopost.hopto.org" - ], - "users": { - "doohoyi": { - "nomatter.hopto.org/": "Mattermost", - "nosignal.hopto.org/SOGo": "SOGo", - "nosignal.hopto.org/airsonic": "Airsonic", - "nosignal.hopto.org/distbin": "Distbin", - "nosignal.hopto.org/flarum": "Flarum", - "nosignal.hopto.org/gitlab": "Gitlab", - "nosignal.hopto.org/grav": "Grav", - "nosignal.hopto.org/jupyterlab": "JupyterLab", - "nosignal.hopto.org/kanboard": "Kanboard", - "nosignal.hopto.org/nextcloud": "Nextcloud", - "nosignal.hopto.org/pad": "Etherpad Mypads", - "nosignal.hopto.org/phpmyadmin": "phpMyAdmin", - "nosignal.hopto.org/rainloop": "Rainloop", - "nosignal.hopto.org/riot": "Riot", - "nosignal.hopto.org/site": "Multi custom webapp", - "nosignal.hopto.org/strut": "Strut", - "nosignal.hopto.org/torrent": "Transmission" - }, - "wonjung": { - "nomatter.hopto.org/": "Mattermost", - "nosignal.hopto.org/SOGo": "SOGo", - "nosignal.hopto.org/airsonic": "Airsonic", - "nosignal.hopto.org/distbin": "Distbin", - "nosignal.hopto.org/flarum": "Flarum", - "nosignal.hopto.org/gitlab": "Gitlab", - "nosignal.hopto.org/grav": "Grav", - "nosignal.hopto.org/jupyterlab": "JupyterLab", - "nosignal.hopto.org/kanboard": "Kanboard", - "nosignal.hopto.org/nextcloud": "Nextcloud", - "nosignal.hopto.org/pad": "Etherpad Mypads", - "nosignal.hopto.org/rainloop": "Rainloop", - "nosignal.hopto.org/riot": "Riot", - "nosignal.hopto.org/site": "Multi custom webapp", - "nosignal.hopto.org/strut": "Strut", - "nosignal.hopto.org/torrent": "Transmission" - } - } - } +{ + "additional_headers": { + "Auth-User": "uid", + "Email": "mail", + "Name": "cn", + "Remote-User": "uid" + }, + "domains": [ + "nopost.hopto.org", + "nomatter.hopto.org", + "nosignal.hopto.org" + ], + "portal_domain": "nosignal.hopto.org", + "portal_path": "/yunohost/sso/", + "protected_regex": [], + "protected_urls": [], + "redirected_regex": { + "nosignal.hopto.org/yunohost[\\/]?$": "https://nosignal.hopto.org/yunohost/sso/" + }, + "redirected_urls": {}, + "skipped_regex": [ + "nopost%.hopto%.org/%.well%-known/.*", + "^[^/]*/%.well%-known/acme%-challenge/.*$", + "^[^/]*/%.well%-known/autoconfig/mail/config%-v1%.1%.xml.*$" + ], + "skipped_urls": [ + "nosignal.hopto.org/pad", + "nopost.hopto.org/yunohost/admin", + "nopost.hopto.org/yunohost/api", + "nomatter.hopto.org/yunohost/admin", + "nomatter.hopto.org/yunohost/api", + "nosignal.hopto.org/yunohost/admin", + "nosignal.hopto.org/yunohost/api", + ], + "unprotected_regex": [], + "unprotected_urls": [ + "nosignal.hopto.org/flarum", + "nosignal.hopto.org/gitlab", + "nosignal.hopto.org/grav", + "nosignal.hopto.org/jupyterlab", + "nosignal.hopto.org/kanboard/jsonrpc.php", + "nomatter.hopto.org", + "nosignal.hopto.org/nextcloud", + "nosignal.hopto.org/SOGo", + "nopost.hopto.org" + ], + "users": { + "doohoyi": { + "nomatter.hopto.org/": "Mattermost", + "nosignal.hopto.org/SOGo": "SOGo", + "nosignal.hopto.org/airsonic": "Airsonic", + "nosignal.hopto.org/distbin": "Distbin", + "nosignal.hopto.org/flarum": "Flarum", + "nosignal.hopto.org/gitlab": "Gitlab", + "nosignal.hopto.org/grav": "Grav", + "nosignal.hopto.org/jupyterlab": "JupyterLab", + "nosignal.hopto.org/kanboard": "Kanboard", + "nosignal.hopto.org/nextcloud": "Nextcloud", + "nosignal.hopto.org/pad": "Etherpad Mypads", + "nosignal.hopto.org/phpmyadmin": "phpMyAdmin", + "nosignal.hopto.org/rainloop": "Rainloop", + "nosignal.hopto.org/riot": "Riot", + "nosignal.hopto.org/site": "Multi custom webapp", + "nosignal.hopto.org/strut": "Strut", + "nosignal.hopto.org/torrent": "Transmission" + }, + "wonjung": { + "nomatter.hopto.org/": "Mattermost", + "nosignal.hopto.org/SOGo": "SOGo", + "nosignal.hopto.org/airsonic": "Airsonic", + "nosignal.hopto.org/distbin": "Distbin", + "nosignal.hopto.org/flarum": "Flarum", + "nosignal.hopto.org/gitlab": "Gitlab", + "nosignal.hopto.org/grav": "Grav", + "nosignal.hopto.org/jupyterlab": "JupyterLab", + "nosignal.hopto.org/kanboard": "Kanboard", + "nosignal.hopto.org/nextcloud": "Nextcloud", + "nosignal.hopto.org/pad": "Etherpad Mypads", + "nosignal.hopto.org/rainloop": "Rainloop", + "nosignal.hopto.org/riot": "Riot", + "nosignal.hopto.org/site": "Multi custom webapp", + "nosignal.hopto.org/strut": "Strut", + "nosignal.hopto.org/torrent": "Transmission" + } + } +} *only "nopost.hopto.org" is added to "unprotected_urls"*