1

NginX replies to undefined port

view story
linux-howto

http://serverfault.com – I've an Nginx as a reverse Proxy for static content. And an Apache for dynamic content. I wanted to change the port for my PMA virtualhost to 81: server { listen 81; server_name pma.server.com; root /usr/share/phpmyadmin; location ~* ^.+\.(jpe?g|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js|swf|avi|mp3)$ { expires max; } location / { proxy_pass http://127.0.0.1:8080; } } If I connect to Port 81 anything works fine. If I connect to Port 80 the static content is not delivered but the server replies the dy (HowTos)