Created
May 20, 2013 20:37
-
-
Save joehoyle/5615320 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 { | |
listen 80; | |
server_name clickbankpowered.dev *.clickbankpowered.dev; | |
root /Users/joe/Sites/bailey-bridge; | |
index index.php; | |
rewrite ^(/wp-(admin|includes)/(.*))$ /wordpress$1 last; | |
rewrite ^(/wp-[^/]*\.php)$ /wordpress$1 last; | |
location /dashboard/api/upload-video { | |
client_max_body_size 800M; | |
try_files $uri $uri/ /index.php?q=$uri&$args; | |
} | |
location / { | |
client_max_body_size 40M; | |
try_files $uri $uri/ /index.php?q=$uri&$args; | |
} | |
location ~ \.php$ { | |
include conf/php-2.conf; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment