/ ‘content/posts/cloud/20200624T220819+0900_retry/index.rst’
This commit is contained in:
parent
1f5e3be761
commit
4e4b1e7a13
1 changed files with 17 additions and 15 deletions
|
|
@ -28,22 +28,24 @@ 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;
|
||||
|
|
||||
| if ($scheme = http)
|
||||
| {
|
||||
| rewrite ^ https://$server_name$request_uri? permanent;
|
||||
| }
|
||||
|
|
||||
| proxy_buffering off;
|
||||
| tcp_nodelay on;
|
||||
| }
|
||||
|
|
||||
|
|
||||
| *nopost.hopto.org is dedicated only for this proxy server. no other app is using it.*
|
||||
|
|
||||
proxy_pass https://192.168.1.110;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
if ($scheme = http)
|
||||
{
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
|
||||
proxy_buffering off;
|
||||
tcp_nodelay on;
|
||||
}
|
||||
|
||||
|
||||
*nopost.hopto.org is dedicated only for this proxy server. no other app is using it.*
|
||||
|
||||
|
||||
cat /etc/ssowat/conf.json
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue