Want to build mediawiki, using the method of the blogger at http://blog.csdn.net/lincyang/article/details/43451043, using the FIG quickly set up the website, can use IP address to access, but the agent in the host Settings nginx, domain name automatically jump to the [IP address: port number] , 1, how to solve this problem? Contacted YuanWenBo main, it appears that he went to pick up hot chicks and have no time to reply, hope CSDN masters help guide one, 2, want to add to the wiki site SSL certificates, how do I get?
The host nginx configuration is as follows:
Upstream xx {
Server localhost: 8880;
}
Server {
listen 80;
Server_name eeee.com;
The location/{
Proxy_pass http://xx;
Proxy_redirect off;
Proxy_set_header X - Real - IP $remote_addr;
Proxy_set_header X - Forwarded - For $proxy_add_x_forwarded_for;
Proxy_set_header Host $Host;
}