Use account_root with VENV token in templates for full path
This commit is contained in:
parent
cabe395393
commit
31fabf2a47
|
@ -10,7 +10,7 @@
|
|||
%%CHAINLINE%%
|
||||
|
||||
<IfModule mod_wsgi.c>
|
||||
WSGIDaemonProcess %%fqdn%% python-home=%%VENV%% python-path=%%document_root%%/ socket-user=#%%UID%%
|
||||
WSGIDaemonProcess %%fqdn%% python-home=%%account_root%%/%%VENV%% python-path=%%document_root%%/ socket-user=#%%UID%%
|
||||
WSGIProcessGroup %%fqdn%%
|
||||
WSGIScriptAlias / %%document_root%%/%%APP_SUBDIR%%/wsgi.py process-group=%%fqdn%%
|
||||
</IfModule>
|
||||
|
@ -35,7 +35,7 @@
|
|||
SetEnv LOGIN "%%UID%%-%%LOGIN%%"
|
||||
|
||||
<IfModule mod_wsgi.c>
|
||||
WSGIDaemonProcess %%fqdn%% python-home=%%VENV%% python-path=%%document_root%%/ socket-user=#%%UID%%
|
||||
WSGIDaemonProcess %%fqdn%% python-home=%%account_root%%/%%VENV%% python-path=%%document_root%%/ socket-user=#%%UID%%
|
||||
WSGIProcessGroup %%fqdn%%
|
||||
WSGIScriptAlias / %%document_root%%/%%APP_SUBDIR%%/wsgi.py process-group=%%fqdn%%
|
||||
</IfModule>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
AssignUserId #%%UID%% #%%GID%%
|
||||
SetEnv LOGIN "%%UID%%-%%LOGIN%%"
|
||||
<IfModule mod_wsgi.c>
|
||||
WSGIDaemonProcess %%fqdn%% python-home=%%VENV%% python-path=%%document_root%%/ socket-user=#%%UID%%
|
||||
WSGIDaemonProcess %%fqdn%% python-home=%%account_root%%/%%VENV%% python-path=%%document_root%%/ socket-user=#%%UID%%
|
||||
WSGIProcessGroup %%fqdn%%
|
||||
WSGIScriptAlias / %%document_root%%/%%APP_SUBDIR%%/wsgi.py process-group=%%fqdn%%
|
||||
</IfModule>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
%%CHAINLINE%%
|
||||
|
||||
<IfModule mod_wsgi.c>
|
||||
WSGIDaemonProcess %%fqdn%% python-home=%%VENV%% python-path=%%document_root%%/ socket-user=#%%UID%%
|
||||
WSGIDaemonProcess %%fqdn%% python-home=%%account_root%%/%%VENV%% python-path=%%document_root%%/ socket-user=#%%UID%%
|
||||
WSGIProcessGroup %%fqdn%%
|
||||
WSGIScriptAlias / %%document_root%%/%%APP_SUBDIR%%/wsgi.py process-group=%%fqdn%%
|
||||
</IfModule>
|
||||
|
@ -39,5 +39,5 @@
|
|||
RewriteEngine On
|
||||
RewriteCond %{REQUEST_FILENAME} !/cgi-bin/
|
||||
RewriteCond %{REQUEST_FILENAME} !/.well-known/acme-challenge/
|
||||
RewriteRule ^/(.*)$ http://%%fqdn%%/$1 [R=301,L]
|
||||
RewriteRule ^/(.*)$ https://%%fqdn%%/$1 [R=301,L]
|
||||
</Virtualhost>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
AssignUserId #%%UID%% #%%GID%%
|
||||
SetEnv LOGIN "%%UID%%-%%LOGIN%%"
|
||||
<IfModule mod_wsgi.c>
|
||||
WSGIDaemonProcess %%fqdn%% python-home=%%VENV%% python-path=%%document_root%%/ socket-user=#%%UID%%
|
||||
WSGIDaemonProcess %%fqdn%% python-home=%%account_root%%/%%VENV%% python-path=%%document_root%%/ socket-user=#%%UID%%
|
||||
WSGIProcessGroup %%fqdn%%
|
||||
WSGIScriptAlias / %%document_root%%/%%APP_SUBDIR%%/wsgi.py process-group=%%fqdn%%
|
||||
</IfModule>
|
||||
|
|
Loading…
Reference in New Issue