Created
January 17, 2014 21:38
-
-
Save ameliaikeda/8482148 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
# osu!web | |
server { | |
listen 80; | |
server_name beta.osu.hiroto.eu chi.ppy.sh; | |
error_log /home/hiroto/Dropbox/logs/osu/error-laravel.log; | |
root /home/hiroto/Dropbox/osu-laravel/public; | |
index index.php index.html; | |
location / { | |
try_files $uri $uri/ /index.php?$query_string; | |
} | |
# php5-fpm fastcgi pass. | |
location ~ \.php$ { | |
fastcgi_split_path_info ^((?U).+\.php)(/?.+)$; | |
fastcgi_pass unix:/var/run/php5-fpm.sock; | |
fastcgi_intercept_errors off; | |
fastcgi_param SCRIPT_FILENAME $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