Created
January 24, 2021 06:45
-
-
Save mr-pascal/4ac80d521632a49e16547a2c68f76aaf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
# $PORT will be provided by 'docker run' | |
listen $PORT; | |
server_name localhost; | |
location / { | |
root /usr/share/nginx/html; | |
index index.html index.htm; | |
try_files $uri /index.html; | |
} | |
gzip on; | |
gzip_vary on; | |
gzip_min_length 10240; | |
gzip_proxied expired no-cache no-store private auth; | |
gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml; | |
gzip_disable "MSIE [1-6]\."; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment