mat2-web/config/nginx-default.conf

15 lines
290 B
Plaintext
Raw Normal View History

2019-02-23 13:27:33 +01:00
server {
server_name _;
2020-03-28 13:45:19 +01:00
listen 8080 default_server;
listen [::]:8080 default_server;
2019-02-23 13:27:33 +01:00
client_max_body_size 20M;
root /var/www/mat2-web;
location / { try_files $uri @yourapplication; }
location @yourapplication {
include uwsgi_params;
2020-03-29 22:49:22 +02:00
uwsgi_pass unix:/run/uwsgi/uwsgi.sock;
2019-02-23 13:27:33 +01:00
}
}