Skip to content

Commit bb25966

Browse files
committed
fix: disable using ports in nginx redirets
This breaks anubis integration because it uses server port (8080) instead of the actual port where the service is exposed.
1 parent 76deaca commit bb25966

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

etc/nginx/default.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ server {
2222
root /app/cache/static;
2323
client_max_body_size {{ CLIENT_MAX_BODY_SIZE }};
2424
server_tokens off;
25+
port_in_redirect off;
2526

2627
{{ WEBLATE_REALIP }}
2728

0 commit comments

Comments
 (0)