jean-cloud-services/services/gmx-webmail.jean-cloud.net/nginx_server.conf
2023-10-31 16:42:06 +01:00

40 lines
1004 B
Plaintext
Executable File

server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
ssl_certificate $JC_CERT/fullchain.pem;
ssl_certificate_key $JC_CERT/privkey.pem;
server_name gmx-webmail.jean-cloud.net www.gmx-webmail.jean-cloud.net;
# root /data/gmx-webmail.jean-cloud.net/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://roundcube.gmx-webmailjean-cloudnet.docker;
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 gmx-webmail_jean-cloud_net:9000;
# fastcgi_index index.php;
# }
}