This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http part, may want to move that to nginx.conf, but will work here also | |
fastcgi_cache_path /var/lib/nginx/fastcgi/ levels=1:2 keys_zone=kolab3.example.net:16m max_size=256m inactive=1d; | |
fastcgi_temp_path /var/lib/nginx/fastcgi/temp 1 2; | |
fastcgi_cache_key "$scheme$request_method$host$request_uri"; | |
fastcgi_cache_use_stale error timeout invalid_header http_500; | |
server { | |
listen 80; | |
server_name kolab3.example.net; | |
rewrite ^ https://$server_name$request_uri permanent; # enforce https |