Created
April 8, 2016 14:41
-
-
Save serialdoom/9f07cff2982749a5b03f504780312329 to your computer and use it in GitHub Desktop.
This file contains 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
error_log /var/log/nginx/error.log debug; | |
worker_processes 4; | |
pid /run/nginx.pid; | |
events { | |
worker_connections 5; | |
# multi_accept on; | |
} | |
http { | |
server { | |
location / { | |
root /data/www; | |
# proxy_pass http://localhost:8080; | |
} | |
# location /images/ { | |
location ~* .(gif|jpeg|jpg|png)$ { | |
# root /data; | |
root /data/images; | |
} | |
} | |
server { | |
listen 8080; | |
root /data/up1; | |
location / { | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment