How to get nginx + uwsgi to exec, not display, perl cgi script?

2019-08-12 Thread koocr
Hi all. I'm setting up a local Git server, with Gitweb + Gitolite. The gitolite wrapper is installed & working. Now I'm working on the Gitweb frontend. I run Nginx as my webserver. Usually with PHP, using fpm. Gitweb's gitweb.cgi looks like it needs perl CGI. For perl cgi I'm trying to get

Re: Fallback default server sharing cert information about other domains than for the URL you visit ?

2019-08-09 Thread koocr
Thanks for the help. I'm really feeling pretty stupid atm since I can't seem to find & understand a how-to document to get this right :-/ So I have this config server { listen 80 http2 default_server; listen [::]:80 http2 ipv6only=on d

Re: Fallback default server sharing cert information about other domains than for the URL you visit ?

2019-08-09 Thread koocr
I'll get a set up I can fool around with that more easily and see how that works here. I notice that you're not using 'default_server" in your listen directive, just 'default'. Reading here https://nginx.org/en/docs/http/ngx_http_core_module.html#listen It's not a listed option and it says

Re: Fallback default server sharing cert information about other domains than for the URL you visit ?

2019-08-09 Thread koocr
Hi, > you can't expect that they will get the return code. Okay I guess that makes sense. Is there any other way to get an attempt to connect to a un-hosted site to get a "nobody home, go away" response? Something other than the current "there's a problem with the cert" mis-message? > I might

Fallback default server sharing cert information about other domains than for the URL you visit ?

2019-08-09 Thread koocr
Hi, My own domain, let's say 'example.com', is registered in the HSTS preload database (https://hstspreload.org). I setup my domain as virtual host in Nginx, /etc/nginx/sites-enabled/example.conf server { listen 172.17.0.1:80;