Created
October 12, 2019 15:20
-
-
Save conschneider/b63643ce7e6d6bf7d2d39ec52d78fbf0 to your computer and use it in GitHub Desktop.
Nginx configuration for Sendy newsletter application. You can replace /sendy with / if you run it out of the root of a (sub)domain.
This file contains 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
location /sendy { | |
access_log off; | |
error_log off; | |
rewrite ^/sendy/(l|t|w)/([a-zA-Z0-9\/]+)$ /sendy/$1.php?i=$2&$args; | |
rewrite ^/sendy/(u?n?subscribe)/(.*)$ /sendy/$1.php?i=$2&$args; | |
try_files $uri $uri/ $uri.php?$args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment