Created
April 15, 2016 14:13
-
-
Save matthijskooijman/4cfa380f0f5b056117ffdaf97c3a3e9e 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; | |
listen [::]:80; | |
server_name www.by-brenda.nl by-brenda.nl; | |
# Enable PHP | |
include enable-php; | |
if (!-e $request_filename) { | |
rewrite ^/p2pshop/admin/(.*)$ /p2pshop/admin/index.php break; | |
rewrite ^/p2pshop/checkout/?$ /p2pshop/index.php?checkout; | |
rewrite ^/p2pshop/about/?$ /p2pshop/index.php?about; | |
rewrite ^/p2pshop/terms/?$ /p2pshop/index.php?terms; | |
rewrite ^/p2pshop/contact/?$ /p2pshop/index.php?contact; | |
rewrite ^/p2pshop/category-(.*)/?$ /p2pshop/index.php?category=$1; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment