Files
batida-landing/nginx.conf
T
mario f3c1d76ae5
Deploy / Build & Push (Prod) (push) Successful in 11s
Deploy / Deploy Staging (push) Failing after 2s
Deploy / Deploy Prod (push) Has been skipped
fix: listen on port 8080 for non-root container
2026-05-24 22:34:17 -03:00

25 lines
516 B
Nginx Configuration File

server {
listen 8080;
server_name _;
root /usr/share/nginx/html;
location / {
try_files $uri $uri/ =404;
default_type text/html;
add_header Content-Language "en" always;
}
location /pt-br {
try_files $uri $uri/ /pt-br/index.html =404;
default_type text/html;
add_header Content-Language "pt-BR" always;
}
location = /pt-br {
return 301 /pt-br/;
}
gzip on;
gzip_types text/html text/css application/javascript;
}