40 lines
1.1 KiB
Plaintext
Executable File
40 lines
1.1 KiB
Plaintext
Executable File
server {
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
ssl_certificate /etc/letsencrypt/live/gmx-webmail.jean-cloud.net/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/gmx-webmail.jean-cloud.net/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;
|
|
# }
|
|
}
|