21 lines
427 B
Nginx Configuration File
21 lines
427 B
Nginx Configuration File
#copy to /etc/nginx/sites-available
|
|
#link to: ln -s /etc/nginx/sites-available/testapp /etc/nginx/sites-enabled/
|
|
#nginx -t
|
|
# sytemctl restart nginx
|
|
|
|
server {
|
|
listen 80;
|
|
server_name develop.artemisneo.com;
|
|
|
|
location = /favicon.ico { access_log off; log_not_found off; }
|
|
|
|
location /static/ {
|
|
root /root/appdirectory/assets;
|
|
}
|
|
location / {
|
|
include proxy_params;
|
|
proxy_pass http://unix:/run/gunicorn.sock;
|
|
}
|
|
|
|
}
|