Skip to content

Commit

Permalink
fix: nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
ForsbergPhilip committed Nov 14, 2024
1 parent 608be55 commit 33bbe6b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .docker/resources/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ http {
index index.html;

server {
listen ___PORT___;
listen [::]:___PORT___;
listen 80;
listen [::]:80;

root /usr/share/nginx/html;
index /___APP___/index.html;
index /frontend/index.html;

# Harden security
server_tokens off;
Expand All @@ -35,11 +35,11 @@ http {

location / {
expires -1;
try_files $uri /___APP___/index.html;
try_files $uri /frontend/index.html;
}


location = /___APP___/version {
location = /frontend/version {
alias /usr/share/nginx/html/version.json;
}
}
Expand Down

0 comments on commit 33bbe6b

Please sign in to comment.