Create a nginx entry for dev version of our Phabricator instance:
- Server: Ysul
- Vhost: devcentral51.nasqueron.org
- Folder: /home/dereckson/dev/nasqueron/devcentral/phabricator
- php-fpm port: 9003
Create a nginx entry for dev version of our Phabricator instance:
Nginx
# Requested by Dereckson
# Requested at 1430016595
server {
listen 80;
listen [2001:470:1f12:9e1::2]:80;
listen [2001:470:1f13:9e1:0:c0ff:ee:1]:80;
server_name devcentral51.nasqueron.org;
access_log /var/log/www/nasqueron.org/devcentral51-access.log main;
error_log /var/log/www/nasqueron.org/devcentral51-error.log;
root /home/dereckson/dev/nasqueron/devcentral/phabricator/webroot;
location / {
index index.php;
rewrite ^/(.*)$ /index.php?__path__=/$1 last;
}
location = /favicon.ico {
try_files $uri =204;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_pass 127.0.0.1:9003;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}DNS
devcentral51.nasqueron.org. 86400 IN CNAME www1.nasqueron.org.