bd808 added a comment. |
In T192292#4228593, @Hjfocs wrote:And sorry if the question sounds silly, I'm no sysadmin :-)
It's never silly to ask questions. :)
The IP that you see via curl belongs to the virtual machine in the project-proxy Cloud VPS project where the proxy server is currently deployed. This IP is from our public pool, meaning that it is reachable from the general internet. Your virtual machine instance does not have a public IP. It instead has a private (10.x.x.x) address that is allocated dynamically when the instance is first provisioned.
I would suggest using simply listen 80;. Port 443 is for HTTPS traffic. The Cloud VPS proxy will take care of that for you and then reverse proxy via plain HTTP to nginx on your Cloud VPS instance. Using the bare port number is equivalent to listen *:80 which will make the nginx service available on all local IP addresses on the instance. This will not cause any security or performance problems and keeps you from needing to make the configuration exactly match the virtual machine's IP stack configuration.
Cc: bd808, Aklapper, Hjfocs, Zylc, 1978Gage2001, Lahi, aborrero, Gq86, GoranSMilovanovic, Kiailandi, Chicocvenancio, QZanden, Tbscho, dachary, LawExplorer, JJMC89, srodlund, Luke081515, Wikidata-bugs, aude, Gryllida, Ricordisamoa, Sjoerddebruin, Tpt, scfc, Mbch331, Krenair, chasemp
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs