Skip to content

Commit

Permalink
fix: nginx conf
Browse files Browse the repository at this point in the history
  • Loading branch information
btwlouis committed Dec 29, 2024
1 parent ffcd2be commit c55528c
Showing 1 changed file with 26 additions and 7 deletions.
33 changes: 26 additions & 7 deletions frontend/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,10 +1,29 @@
server {
listen 80;
worker_processes 1;

server_name _;
events {
worker_connections 1024;
}

location / {
root /usr/share/nginx/html;
try_files $uri /index.html;
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;

server {
listen 80;

server_name _;

# Serve static files from /usr/share/nginx/html
location / {
root /usr/share/nginx/html;
try_files $uri /index.html;
}

# Additional location blocks or configurations can go here
}
}
}

0 comments on commit c55528c

Please sign in to comment.