This commit is contained in:
Sergei Poljanski 2023-08-26 12:07:47 +02:00
commit f0d87cb54c
20 changed files with 682 additions and 36 deletions

View file

@ -1,7 +1,8 @@
#asxp.io test gpg sign
server {
listen 443 ssl http2;
#listen [::]:443 ssl http2;
listen 443 ssl;
listen [::]:443 ssl;
http2 on;
server_name asxp.io www.asxp.io;
root /srv/http/asxpio;

View file

@ -1,9 +1,10 @@
server {
server_name builds.asxp.io;
#listen [::]:443 ssl ipv6only=on;
listen [::]:443 ssl;
listen 443 ssl;
http2 on;
ssl_certificate /etc/letsencrypt/live/asxp.io/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/asxp.io/privkey.pem;
@ -12,11 +13,11 @@ server {
access_log /var/log/nginx/ftp.access.log;
error_log /var/log/nginx/ftp.error.log;
location / {
autoindex on;
autoindex_exact_size off;
autoindex_format html;
autoindex_localtime on;
autoindex on;
autoindex_exact_size off;
autoindex_format html;
autoindex_localtime on;
}
}

View file

@ -1,6 +1,7 @@
server {
listen 443 ssl;
#listen [::]:443 ssl http2;
listen [::]:443 ssl;
http2 on;
server_name git.asxp.io www.git.asxp.io;
location / {

View file

@ -1,6 +1,6 @@
server {
listen 80;
#listen [::]:80;
server_name _;
listen [::]:80;
server_name _;
return 301 https://$host$request_uri;
}

View file

@ -9,29 +9,11 @@ map $http_upgrade $connection_upgrade {
'' close;
}
#server {
#listen 80;
#server_name www.jenkins.asxp.io jenkins.asxp.io;
#listen [::]:80;
#server_name www.jenkins.asxp.io jenkins.asxp.io;
#root /var/run/jenkins/war/;
#index index.html;
#server_name _;
#return 444;
#location / {
# try_files $uri $uri/ =404;
#}
#}
server {
server_name jenkins.asxp.io;
#listen [::]:443 ssl ipv6only=on;
listen 443 ssl;
server_name jenkins.asxp.io;
listen 443 ssl;
listen [::]:443 ssl; #ipv6only=on;
http2 on;
ssl_certificate /etc/letsencrypt/live/asxp.io/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/asxp.io/privkey.pem;
#ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;

View file

@ -1,6 +1,7 @@
server {
listen 443 ssl;
#listen [::]:443 ssl http2;
listen [::]:443 ssl;
http2 on;
server_name uptime.asxp.io www.uptime.asxp.io;
ssl_certificate /etc/letsencrypt/live/asxp.io/fullchain.pem;