This commit is contained in:
temasky
2020-07-31 12:45:56 +00:00
commit 5d419635ed
306 changed files with 26949 additions and 0 deletions
@@ -0,0 +1,16 @@
#
# Run iRedAdmin as a sub-domain virtual host.
#
include PH_NGINX_CONF_TMPL_DIR/hsts.tmpl;
location / {
root PH_IREDADMIN_HTTPD_ROOT_SYMBOL_LINK;
uwsgi_pass PH_IREDADMIN_BIND_ADDRESS:PH_IREDADMIN_LISTEN_PORT;
uwsgi_param UWSGI_CHDIR PH_IREDADMIN_HTTPD_ROOT_SYMBOL_LINK;
uwsgi_param UWSGI_SCRIPT iredadmin;
include uwsgi_params;
}
location /static {
alias PH_IREDADMIN_HTTPD_ROOT_SYMBOL_LINK/static;
}