Page MenuHomeDevCentral
Paste P200

Vhosts for Phabricator (DevCentral)
ActivePublic

Authored by dereckson on Jun 21 2016, 23:41.
server {
listen 80;
listen [::]:80;
server_name phabricator-files-for-devcentral-nasqueron.spacetechnology.net;
include letsencrypt;
include ssl_params;
ssl_certificate /data/letsencrypt/etc/live/phabricator-files-for-devcentral-nasqueron.spacetechnology.net/fullchain.pem;
ssl_certificate_key /data/letsencrypt/etc/live/phabricator-files-for-devcentral-nasqueron.spacetechnology.net/privkey.pem;
include proxy_params;
location / {
proxy_pass http://localhost:31080;
}
}
server {
listen 80;
listen [::]:80;
server_name devcentral.nasqueron.org;
include letsencrypt;
include ssl_params;
ssl_certificate /data/letsencrypt/etc/live/devcentral.nasqueron.org-0001/fullchain.pem;
ssl_certificate_key /data/letsencrypt/etc/live/devcentral.nasqueron.org-0001/privkey.pem;
include proxy_params;
location / {
proxy_pass http://localhost:31080;
}
location ~ ^/maniphest/task/create {
rewrite ^/maniphest/task/create/?(.*) /maniphest/task/edit/form/1/$1;
}
#502 error
root /var/wwwroot-502/devcentral.nasqueron.org;
error_page 502 /502.html;
location /502.html {}
}