Update by natay on Mon Jul 22 17:19:26 EDT 2019 from Admins-MacBook-Air.local
+
# Main server configuration.
server {
-
- listen 80;
- listen [::]:80;
-
server_name recipes.natay.software natay.software;
+ listen 80;
client_max_body_size 150M;
@@ -33,12 +31,7 @@ server {
}
location / {
- include uwsgi_params;
- uwsgi_pass engine;
- uwsgi_param Host $host;
- uwsgi_param X-Real-IP $remote_addr;
- uwsgi_param X-Forwarded-For $proxy_add_x_forwarded_for;
- uwsgi_param X-Forwarded-Proto $http_x_forwarded_proto;
+ try_files $uri $uri/ =404;
}
}
