mat2-web/config/nginx.config

15 lines
296 B
Plaintext
Raw Normal View History

2019-02-23 13:27:33 +01:00
server {
server_name _;
listen 80 default_server;
listen [::]:80 default_server;
client_max_body_size 20M;
root /var/www/mat2-web;
location / { try_files $uri @yourapplication; }
location @yourapplication {
include uwsgi_params;
uwsgi_pass unix:/var/www/mat2-web/mat2-web.sock;
}
}