Created
April 10, 2016 10:51
-
-
Save lcaballero/1d912068e22edcb71be024484836afb7 to your computer and use it in GitHub Desktop.
Template for a minimal nginx.conf
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
## Fill in the areas with the [custom] label. | |
#user nobody; | |
worker_processes 1; | |
error_log [custom]/error.log; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
include [custom]/mime.types; | |
gzip on; | |
gzip_http_version 1.1; | |
gzip_comp_level 2; | |
server { | |
listen 80; | |
server_name localhost; | |
access_log [custom]/access.log; | |
location / { | |
root [custom]/public; | |
index index.html index.htm default.html default.htm; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment