debmaker/ressources/umap/rootfs/umap.ngnix

24 lines
549 B
Plaintext
Raw Normal View History

2024-11-14 09:47:36 +01:00
upstream umap {
server unix:///var/lib/umap/uwsgi.sock;
}
server {
# the port your site will be served on
listen 80;
listen [::]:80;
# listen 443 ssl;
# listen [::]:443 ssl;
# the domain name it will serve for
server_name umap.leolagrange-gestion.org;
charset utf-8;
# max upload size
client_max_body_size 5M; # adjust to taste
# Finally, send all non-media requests to the Django server.
location / {
uwsgi_pass umap;
include /etc/umap/uwsgi_params;
}
}