Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- login page: http://www.annopedia.net/forums/anno1404/login.php
- SSl error url: https://www.annopedia.net:80/forums/anno1404/login.php
- Nginx vHost config
- server {
- #listen 80; ## listen for ipv4; this line is default and implied
- #listen [::]:80 default_server ipv6only=on; ## listen for ipv6
- ssl off; # added after some research on internet, it didn't change anything
- root /home/florent/www/annopedia/htdocs;
- index index.php index.html index.htm;
- access_log /home/florent/www/annopedia/logs/nginx_access.log;
- error_log /home/florent/www/annopedia/logs/nginx_error.log;
- server_name annopedia.net www.annopedia.net;
- location / {
- index index.php index.html index.htm;
- #try_files $uri $uri/ /index.php;
- }
- location /site {
- index index.php index.html index.htm;
- try_files $uri $uri/ /site/index.php$args;
- }
- location ~ \.php$ {
- fastcgi_split_path_info ^(.+\.php)(/.+)$;
- fastcgi_pass unix:/var/run/php5-fpm.sock;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- include fastcgi_params;
- }
- location ~ /\. { deny all; access_log off; log_not_found off; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement