location ~ "^/([a-zA-Z0-9]{2,7})$" {
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://185.0.0.0:8181/?data=$1;
}
location ~ "^/([a-zA-Z0-9]{2,7})$" {
try_files /does_not_exists @go-server;
}
location @go-server {
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://185.0.0.0:8181/?data=$1;
}
listen = 9000
fastcgi_pass php:9000;
fastcgi_pass php70:9000;
fastcgi_pass php72:9000;