41 lines
965 B
Plaintext
Executable File
41 lines
965 B
Plaintext
Executable File
server {
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
ssl_certificate /etc/letsencrypt/live/amaglio.fr/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/amaglio.fr/privkey.pem;
|
|
|
|
server_name amaglio.fr www.amaglio.fr;
|
|
# root /data/amaglio.fr/app;
|
|
#
|
|
client_max_body_size 1024M;
|
|
charset utf-8;
|
|
#
|
|
# index index.php;
|
|
#
|
|
# location ~ ^/roundcube/(bin|SQL|config|temp|logs)/ {
|
|
# deny all;
|
|
# }
|
|
#
|
|
# location ~ /roundcube/\.(js|css|png|jpg|jpeg|gif|ico)$ {
|
|
# expires max;
|
|
# log_not_found off;
|
|
# }
|
|
#
|
|
location / {
|
|
proxy_pass http://172.29.5.100;
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
}
|
|
#
|
|
# location ~ \.php$ {
|
|
# fastcgi_split_path_info ^(.+\.php)(/.*)$;
|
|
# include fastcgi_params;
|
|
# fastcgi_param SCRIPT_FILENAME /var/www/html/$fastcgi_script_name;
|
|
# fastcgi_param PATH_INFO $fastcgi_path_info;
|
|
# fastcgi_pass amaglio.fr:9000;
|
|
# fastcgi_index index.php;
|
|
# }
|
|
}
|
|
|