eole-one-frontend/tmpl/nginx-nebula.conf
Philippe Caseiro 8a17a7bdd7 tmpl/nginx-nebula.conf: Changment du client_max_body_size
Pour permettre l'envois d'images iso il faut augmenter la limite a
plus de 1G.

fixes #12536 @45m
2015-08-13 10:17:56 +02:00

31 lines
697 B
Plaintext

#### OpenNebula Sunstone upstream
upstream sunstone {
server %%adresse_ip_eth0:%%port_sunstone;
}
#### cloudserver.org HTTP virtual host
server {
listen 80;
server_name cloudserver.org;
### Permanent redirect to HTTPS (optional)
return 301 https://$server_name:443;
}
#### cloudserver.org HTTPS virtual host
server {
listen 443;
server_name cloudserver.org;
### SSL Parameters
ssl on;
ssl_certificate %%server_pem;
ssl_certificate_key %%server_key;
client_max_body_size 1536M;
### Proxy requests to upstream
location / {
proxy_pass http://sunstone;
}
}