secure.conf
This commit is contained in:
parent
0f060272e2
commit
f261871731
|
@ -347,20 +347,20 @@ server {
|
||||||
proxy_pass http://127.0.0.1/$uri?attachment=true&$args;
|
proxy_pass http://127.0.0.1/$uri?attachment=true&$args;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /secure {
|
# location /secure {
|
||||||
rewrite /secure/(.*) /$1 break;
|
# rewrite /secure/(.*) /$1 break;
|
||||||
proxy_pass http://oathkeeper:4455;
|
# proxy_pass http://oathkeeper:4455;
|
||||||
}
|
# }
|
||||||
|
|
||||||
#location /secure/self-service {
|
#location /secure/self-service {
|
||||||
# rewrite /secure/self-service/(.*) /$1 break;
|
# rewrite /secure/self-service/(.*) /$1 break;
|
||||||
# proxy_pass http://oathkeeper:4455;
|
# proxy_pass http://oathkeeper:4455;
|
||||||
#}
|
#}
|
||||||
|
|
||||||
location /accounts {
|
# location /accounts {
|
||||||
rewrite /accounts/(.*) /$1 break;
|
# rewrite /accounts/(.*) /$1 break;
|
||||||
proxy_pass http://accounts:3000;
|
# proxy_pass http://accounts:3000;
|
||||||
}
|
# }
|
||||||
|
|
||||||
# include custom locations, specific to the server
|
# include custom locations, specific to the server
|
||||||
include /etc/nginx/conf.d/server-override/*;
|
include /etc/nginx/conf.d/server-override/*;
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
server_name secure.siasky.xyz;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://oathkeeper:4455;
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue