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; # } }