nginx:nginx_tips
NGINX
reverse proxy
location /emby {
proxy_pass http://192.168.35.3:8096
}
Certificate File
Location: /etc/nginx/snippets/local_ssl.conf
ssl_certificate /var/server_data/certs/local.cert.crt; ssl_certificate_key /var/server_data/certs/local.cert.key; ssl_protocols TLSv1.2; ssl_ciphers HIGH:!aNULL:!MD5;
gitea proxy
server {
listen 1.2.3.4:80;
index index.php index.html index.htm;
server_name git.local.example.com;
return 301 https://git.local.example.com$request_uri;
location / {
proxy_pass http://1.2.3.4:3000;
}
}
server {
listen 1.2.3.4:443 ssl;
index index.php index.html index.htm;
server_name git.local.example.com;
location / {
proxy_pass http://1.2.3.4:3000;
}
include /etc/nginx/snippets/local_ssl.conf;
}
nginx/nginx_tips.txt ยท Last modified: 2022/06/10 19:19 by 127.0.0.1