Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lrupp
limesurvey
limesurvey-nginx.conf
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File limesurvey-nginx.conf of Package limesurvey
server { listen 80 fastopen=500; server_name survey.opensuse.org; log_not_found off; # adjust the following, if nginx is running behind haproxy: # set_real_ip_from 192.168.0.1; # real_ip_header X-Forwarded-For; error_log /var/log/nginx/error.log; access_log /var/log/nginx/access.log main; client_max_body_size 100M; root __LIMEDIR__; index index.php; #avoid processing of calls to unexisting static files by yii location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar)$ { allow all; expires 1h; add_header Pragma public; add_header Cache-Control "public"; try_files $uri =404; } location / { try_files $uri /index.php?$args; } location ~ .php$ { include /etc/nginx/fastcgi.conf; fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } location ~ /\.ht { deny all; return 403; } location /robots.txt { add_header Content-Type text/plain; return 200 "User-agent: *\nAllow: /\n"; } location = /50x.html { root /srv/www/errors/; } # redirect server error pages to the static page /50x.html error_page 500 502 503 504 /50x.html; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor