-
-
Save Ivoz/1327317 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
server { | |
server_name localhost; | |
listen 127.0.0.1:80; | |
root /home/ivo/www/home/public_html; | |
index index.php index.html; | |
error_log /home/ivo/www/home/error.log debug; | |
access_log /home/ivo/www/home/access.log; | |
location /phpmyadmin { | |
alias /usr/share/phpmyadmin; | |
allow 127.0.0.1; | |
deny all; | |
} | |
location ~ \.php$ { | |
try_files $uri =404; | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_index index.php; | |
fastcgi_param SCRIPT_NAME $document_root$fastcgi_script_name; | |
include fastcgi_params; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment