Skip to content

Commit

Permalink
Fix redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdijk committed Sep 13, 2024
1 parent 6945623 commit 393d27c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ proxy_cache_path /data/nginx/cache keys_zone=mycache:10m;
server {
listen 8080;
listen [::]:8080;

port_in_redirect off;

server_name localhost;

Expand All @@ -14,7 +16,7 @@ server {
}

location = / {
return 301 /public;
return 302 /public;
}

location /login {
Expand Down

0 comments on commit 393d27c

Please sign in to comment.