autoindex/configs/nginx.conf
2017-04-29 06:17:22 +03:00

28 lines
483 B
Nginx Configuration File

server {
listen 80;
server_name drop.217.182.90.36.xip.io;
location /_ {
alias /srv/apps/drop/files;
}
location / {
include uwsgi_params;
uwsgi_pass unix:///tmp/drop.sock;
}
}
server {
listen 80;
server_name ~^(?<dir>.*)\.drop\.217\.182\.90\.36\.xip\.io$;
location /_ {
alias /srv/apps/drop/subdomain_files/$dir;
}
location / {
include uwsgi_params;
uwsgi_pass unix:///tmp/drop.sock;
}
}