Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Serve 2 https server{} block for 2 adress

$
0
0
Hey,
I successfully was able to set online a website in https ; but when I try to put a second one I get the following error :

""
[alert] 27063#0: worker process 27157 exited on signal 11
""

...Multiple time until the client does timeout.
There is the two https part, the two of them work if I disable one or another.
What am I missing ? :(

""
server {
server_name arzinfo.pwnz.org;
listen 443 ssl default_server;
listen [::]:443 default_server;#ipv6only=on;

index index.php index.html;
root /srv/arzinfo.pwnz.org;

ssl_certificate /etc/letsencrypt/live/arzinfo.pwnz.org/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/arzinfo.pwnz.org/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/arzinfo.pwnz.org/fullchain.pem;
location / {
try_files $uri $uri/ =404;
}
}
""
Second one :
""
server {
server_name otyugh.pwnz.org;
listen 443 ssl;
listen [::]:443;#ipv6only=on;

index index.php index.html;
root /srv/otyugh.pwnz.org;

ssl_certificate /etc/letsencrypt/live/otyugh.pwnz.org/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/otyugh.pwnz.org/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/otyugh.pwnz.org/fullchain.pem;
location / {
try_files $uri $uri/ =404;
}
}
""

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>