- Posts: 8
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
server { server_name ; root /var/www/LimeSurvey; index ; fastcgi_param PHP_VALUE "memory_limit = 128M"; access_log /var/log/lime/; error_log /var/log/lime/; location / { try_files $uri $uri/ /$args; } location ~ \.php$ { include snippets/; fastcgi_pass unix:/var/run/php/; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_read_timeout 120; fastcgi_intercept_errors on; include fastcgi_params; } #Favicon location = /{ alias /etc/nginx/; } location /nginx_status { stub_status on; } location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { expires 6M; } # location = /{ return 200 "User-agent: *\nDisallow: /\n"; } listen 443 ssl http2; ssl_certificate /etc/ssl/certs/; ssl_certificate_key /etc/ssl/private/; } server { server_name ; return 301 https://$http_host$request_uri; listen 80;
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
RecommendedWe recommend the following setup
- Web server: nginx (most recent stable version)
- PHP (most recent stable version)
- with php-fpm, mbstring, gd2 with freetype, imap, ldap, zip, zlib and database drivers
- MariaDB or MySQL (most recent stable version)
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.