This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| upstream phpfpm { | |
| #server unix:/var/run/php5-fpm.sock; | |
| #avoid sockets for nginx-fpm on Linux, they are good for BSD | |
| server 127.0.0.1:9000; | |
| } | |
| server { | |
| listen 8080; | |
| server_name sumhr.com; | |
| rewrite ^(.*) $scheme://www.sumhr.com$1 permanent; |