Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save serialdoom/9f07cff2982749a5b03f504780312329 to your computer and use it in GitHub Desktop.
Save serialdoom/9f07cff2982749a5b03f504780312329 to your computer and use it in GitHub Desktop.
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