forked from ReiMerc/skantravels
14 lines
328 B
Plaintext
14 lines
328 B
Plaintext
server {
|
|
listen 80;
|
|
root /usr/share/nginx/html;
|
|
|
|
# Enables Gzip compression for efficiency
|
|
gzip on;
|
|
gzip_types text/plain text/javascript text/css application/json;
|
|
|
|
# Handles routing for static files and serves index.html as a fallback
|
|
location / {
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
}
|