diff --git a/docker/nginx/conf.d/client.conf b/docker/nginx/conf.d/client.conf index 84157da3..6ce53a8b 100644 --- a/docker/nginx/conf.d/client.conf +++ b/docker/nginx/conf.d/client.conf @@ -347,20 +347,20 @@ server { proxy_pass http://127.0.0.1/$uri?attachment=true&$args; } - location /secure { - rewrite /secure/(.*) /$1 break; - proxy_pass http://oathkeeper:4455; - } + # location /secure { + # rewrite /secure/(.*) /$1 break; + # proxy_pass http://oathkeeper:4455; + # } #location /secure/self-service { # rewrite /secure/self-service/(.*) /$1 break; # proxy_pass http://oathkeeper:4455; #} - location /accounts { - rewrite /accounts/(.*) /$1 break; - proxy_pass http://accounts:3000; - } + # location /accounts { + # rewrite /accounts/(.*) /$1 break; + # proxy_pass http://accounts:3000; + # } # include custom locations, specific to the server include /etc/nginx/conf.d/server-override/*; diff --git a/docker/nginx/conf.d/secure.conf b/docker/nginx/conf.d/secure.conf new file mode 100644 index 00000000..5ad154ce --- /dev/null +++ b/docker/nginx/conf.d/secure.conf @@ -0,0 +1,9 @@ +server { + listen 80; + listen [::]:80; + server_name secure.siasky.xyz; + + location / { + proxy_pass http://oathkeeper:4455; + } +} \ No newline at end of file