ajout de umap
This commit is contained in:
parent
574b0fb197
commit
69cbf81a7c
11 changed files with 211 additions and 0 deletions
23
ressources/umap/rootfs/umap.ngnix
Normal file
23
ressources/umap/rootfs/umap.ngnix
Normal file
|
@ -0,0 +1,23 @@
|
|||
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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue