Skip to content

nginx multiple casgo instances

aerth edited this page Feb 22, 2016 · 2 revisions
server {
    server_name casgo.test test.casgo.local casgo.local;
    listen 80;
    location / {
        fastcgi_pass 127.0.0.1:8080;
        include fastcgi_params;
    }
}

server {
    server_name other.casgo.test casgo.com casgo.example;
    listen 80;
    location / {
        fastcgi_pass 127.0.0.1:8081;
        include fastcgi_params;
    }
}
Clone this wiki locally