let's try redirecting everything
parent
19dd7eadcb
commit
22c917eb65
|
@ -6,25 +6,7 @@ WSGISocketPrefix /opt/regluit
|
|||
ServerName just.unglue.it
|
||||
ServerAdmin info@gluejar.com
|
||||
|
||||
RewriteEngine On
|
||||
RewriteRule ^/$ https://just.unglue.it/ [R=301]
|
||||
RewriteRule /admin(.*) https://just.unglue.it/admin$1 [R=301]
|
||||
RewriteRule /accounts(.*) https://just.unglue.it/accounts$1 [R=301]
|
||||
RewriteRule /pledge(.*) https://just.unglue.it/pledge$1 [R=301]
|
||||
RewriteRule /gift(.*) https://just.unglue.it/gift$1 [R=301]
|
||||
|
||||
WSGIDaemonProcess regluit processes=4 threads=4 python-eggs=/tmp/regluit-python-eggs
|
||||
WSGIScriptAlias / /opt/regluit/deploy/just.wsgi
|
||||
|
||||
<Directory /opt/regluit/static>
|
||||
Options Indexes FollowSymLinks
|
||||
AllowOverride None
|
||||
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
</Directory>
|
||||
|
||||
Alias /static /var/www/static
|
||||
Redirect permanent / https://just.unglue.it/
|
||||
|
||||
</VirtualHost>
|
||||
|
||||
|
|
Loading…
Reference in New Issue