Files
HaitiData/deployment/staging.qgisug.nginx.conf
T
2017-07-27 11:52:40 +07:00

30 lines
762 B
Plaintext

upstream qgisug {
server 127.0.0.1:63300;
}
server {
# OTF gzip compression
gzip on;
gzip_min_length 860;
gzip_comp_level 5;
gzip_proxied expired no-cache no-store private auth;
gzip_types text/plain application/xml application/x-javascript text/xml text/css application/json;
gzip_disable “MSIE [1-6].(?!.*SV1)”;
# the port your site will be served on
listen 80
# the domain name it will serve for
# server_name staging.foss4g-africa.org;
charset utf-8;
# max upload size, adjust to taste
client_max_body_size 15M;
location / {
proxy_pass http://qgisug;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
}
}