first commit
This commit is contained in:
30
reverseProxy NGINX/usr/local/etc/nginx/service/adefault.conf
Normal file
30
reverseProxy NGINX/usr/local/etc/nginx/service/adefault.conf
Normal file
@@ -0,0 +1,30 @@
|
||||
server {
|
||||
#listen 80;
|
||||
listen 443 ssl;
|
||||
server_name *.lefloch.eu;
|
||||
#server_name localhost;
|
||||
|
||||
ssl_certificate /usr/local/etc/letsencrypt/live/lefloch.eu/fullchain.pem;
|
||||
ssl_certificate_key /usr/local/etc/letsencrypt/live/lefloch.eu/privkey.pem;
|
||||
|
||||
ssl_session_cache shared:SSL:1m;
|
||||
ssl_session_timeout 5m;
|
||||
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
#charset koi8-r;
|
||||
|
||||
#access_log logs/host.access.log main;
|
||||
|
||||
location / {
|
||||
# root /usr/local/www/nginx;
|
||||
# index index.html index.htm;
|
||||
proxy_pass http://192.168.0.102:80;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
|
||||
# Enforce HTTPS
|
||||
#return 301 https://$server_name$request_uri;
|
||||
|
||||
}
|
||||
37
reverseProxy NGINX/usr/local/etc/nginx/service/cloud.conf
Normal file
37
reverseProxy NGINX/usr/local/etc/nginx/service/cloud.conf
Normal file
@@ -0,0 +1,37 @@
|
||||
server {
|
||||
# listen 80;
|
||||
listen 443 ssl;
|
||||
server_name cloud.lefloch.eu;
|
||||
#server_name localhost;
|
||||
|
||||
ssl_certificate /usr/local/etc/letsencrypt/live/lefloch.eu/fullchain.pem;
|
||||
ssl_certificate_key /usr/local/etc/letsencrypt/live/lefloch.eu/privkey.pem;
|
||||
|
||||
ssl_session_cache shared:SSL:1m;
|
||||
ssl_session_timeout 5m;
|
||||
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
#charset koi8-r;
|
||||
|
||||
#access_log logs/host.access.log main;
|
||||
|
||||
location /.well-known/carddav {
|
||||
return 301 $scheme://$host/remote.php/dav;
|
||||
}
|
||||
|
||||
location /.well-known/caldav {
|
||||
return 301 $scheme://$host/remote.php/dav;
|
||||
}
|
||||
|
||||
location / {
|
||||
# root /usr/local/www/nginx;
|
||||
# index index.html index.htm;
|
||||
proxy_pass http://192.168.0.18;
|
||||
}
|
||||
|
||||
# Enforce HTTPS
|
||||
#return 301 https://$server_name$request_uri;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
server {
|
||||
#listen 80;
|
||||
listen 15637;
|
||||
server_name enshrouded.lefloch.eu;
|
||||
#server_name localhost;
|
||||
|
||||
ssl_certificate /usr/local/etc/letsencrypt/live/lefloch.eu/fullchain.pem;
|
||||
ssl_certificate_key /usr/local/etc/letsencrypt/live/lefloch.eu/privkey.pem;
|
||||
|
||||
ssl_session_cache shared:SSL:1m;
|
||||
ssl_session_timeout 5m;
|
||||
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
#charset koi8-r;
|
||||
|
||||
#access_log logs/host.access.log main;
|
||||
|
||||
location / {
|
||||
# root /usr/local/www/nginx;
|
||||
# index index.html index.htm;
|
||||
proxy_pass http://192.168.0.102:15637;
|
||||
}
|
||||
|
||||
# Enforce HTTPS
|
||||
#return 301 https://$server_name$request_uri;
|
||||
|
||||
|
||||
#error_page 404 /404.html;
|
||||
|
||||
# redirect server error pages to the static page /50x.html
|
||||
#
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
location = /50x.html {
|
||||
root /usr/local/www/nginx-dist;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
35
reverseProxy NGINX/usr/local/etc/nginx/service/foundry.conf
Normal file
35
reverseProxy NGINX/usr/local/etc/nginx/service/foundry.conf
Normal file
@@ -0,0 +1,35 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name foundry.lefloch.eu;
|
||||
|
||||
ssl_certificate /usr/local/etc/letsencrypt/live/lefloch.eu/fullchain.pem;
|
||||
ssl_certificate_key /usr/local/etc/letsencrypt/live/lefloch.eu/privkey.pem;
|
||||
|
||||
ssl_session_cache shared:SSL:1m;
|
||||
ssl_session_timeout 5m;
|
||||
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
location / {
|
||||
proxy_pass http://192.168.0.102:30000;
|
||||
|
||||
# 🔑 WebSocket support
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
||||
# Headers classiques
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
|
||||
proxy_read_timeout 86400;
|
||||
proxy_send_timeout 86400;
|
||||
}
|
||||
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
location = /50x.html {
|
||||
root /usr/local/www/nginx-dist;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
server {
|
||||
#listen 80;
|
||||
listen 443 ssl;
|
||||
server_name 5gloc.lefloch.eu;
|
||||
#server_name localhost;
|
||||
|
||||
ssl_certificate /usr/local/etc/letsencrypt/live/lefloch.eu/fullchain.pem;
|
||||
ssl_certificate_key /usr/local/etc/letsencrypt/live/lefloch.eu/privkey.pem;
|
||||
|
||||
ssl_session_cache shared:SSL:1m;
|
||||
ssl_session_timeout 5m;
|
||||
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
#charset koi8-r;
|
||||
|
||||
#access_log logs/host.access.log main;
|
||||
|
||||
location / {
|
||||
# root /usr/local/www/nginx;
|
||||
# index index.html index.htm;
|
||||
proxy_pass http://192.168.0.101:32779;
|
||||
}
|
||||
|
||||
# Enforce HTTPS
|
||||
#return 301 https://$server_name$request_uri;
|
||||
|
||||
}
|
||||
54
reverseProxy NGINX/usr/local/etc/nginx/service/nginx.conf
Normal file
54
reverseProxy NGINX/usr/local/etc/nginx/service/nginx.conf
Normal file
@@ -0,0 +1,54 @@
|
||||
#user nobody;
|
||||
worker_processes 1;
|
||||
|
||||
# This default error log path is compiled-in to make sure configuration parsing
|
||||
# errors are logged somewhere, especially during unattended boot when stderr
|
||||
# isn't normally logged anywhere. This path will be touched on every nginx
|
||||
# start regardless of error log location configured here. See
|
||||
# https://trac.nginx.org/nginx/ticket/147 for more info.
|
||||
#
|
||||
#error_log /var/log/nginx/error.log;
|
||||
#
|
||||
|
||||
#pid logs/nginx.pid;
|
||||
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
|
||||
http {
|
||||
include mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||
# '$status $body_bytes_sent "$http_referer" '
|
||||
# '"$http_user_agent" "$http_x_forwarded_for"';
|
||||
|
||||
#access_log logs/access.log main;
|
||||
|
||||
sendfile on;
|
||||
#tcp_nopush on;
|
||||
|
||||
#keepalive_timeout 0;
|
||||
keepalive_timeout 65;
|
||||
|
||||
#gzip on;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
include services/*.conf;
|
||||
|
||||
# redirect HTPP to HTTPS
|
||||
server {
|
||||
listen 80 default_server;
|
||||
server_name _;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
server {
|
||||
#listen 80;
|
||||
listen 443 ssl;
|
||||
server_name nginx.lefloch.eu;
|
||||
#server_name localhost;
|
||||
|
||||
ssl_certificate /usr/local/etc/letsencrypt/live/lefloch.eu/fullchain.pem;
|
||||
ssl_certificate_key /usr/local/etc/letsencrypt/live/lefloch.eu/privkey.pem;
|
||||
|
||||
ssl_session_cache shared:SSL:1m;
|
||||
ssl_session_timeout 5m;
|
||||
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
#charset koi8-r;
|
||||
|
||||
#access_log logs/host.access.log main;
|
||||
|
||||
location / {
|
||||
# root /usr/local/www/nginx;
|
||||
# index index.html index.htm;
|
||||
proxy_pass http://192.168.0.102:32779;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
|
||||
# Enforce HTTPS
|
||||
#return 301 https://$server_name$request_uri;
|
||||
|
||||
}
|
||||
30
reverseProxy NGINX/usr/local/etc/nginx/service/nms.conf
Normal file
30
reverseProxy NGINX/usr/local/etc/nginx/service/nms.conf
Normal file
@@ -0,0 +1,30 @@
|
||||
server {
|
||||
#listen 80;
|
||||
listen 443 ssl;
|
||||
server_name nms.lefloch.eu;
|
||||
#server_name localhost;
|
||||
|
||||
ssl_certificate /usr/local/etc/letsencrypt/live/lefloch.eu/fullchain.pem;
|
||||
ssl_certificate_key /usr/local/etc/letsencrypt/live/lefloch.eu/privkey.pem;
|
||||
|
||||
ssl_session_cache shared:SSL:1m;
|
||||
ssl_session_timeout 5m;
|
||||
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
#charset koi8-r;
|
||||
|
||||
#access_log logs/host.access.log main;
|
||||
|
||||
location / {
|
||||
# root /usr/local/www/nginx;
|
||||
# index index.html index.htm;
|
||||
proxy_pass http://192.168.0.18:8080/;
|
||||
proxy_set_header Host $Host;
|
||||
}
|
||||
|
||||
# Enforce HTTPS
|
||||
#return 301 https://$server_name$request_uri;
|
||||
|
||||
}
|
||||
29
reverseProxy NGINX/usr/local/etc/nginx/service/pad.conf
Normal file
29
reverseProxy NGINX/usr/local/etc/nginx/service/pad.conf
Normal file
@@ -0,0 +1,29 @@
|
||||
server {
|
||||
# listen 80;
|
||||
listen 443 ssl;
|
||||
server_name pad.lefloch.eu;
|
||||
#server_name localhost;
|
||||
|
||||
ssl_certificate /usr/local/etc/letsencrypt/live/lefloch.eu/fullchain.pem;
|
||||
ssl_certificate_key /usr/local/etc/letsencrypt/live/lefloch.eu/privkey.pem;
|
||||
|
||||
ssl_session_cache shared:SSL:1m;
|
||||
ssl_session_timeout 5m;
|
||||
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
#charset koi8-r;
|
||||
|
||||
#access_log logs/host.access.log main;
|
||||
|
||||
location / {
|
||||
# root /usr/local/www/nginx;
|
||||
# index index.html index.htm;
|
||||
proxy_pass http://192.168.0.18:9001;
|
||||
}
|
||||
|
||||
# Enforce HTTPS
|
||||
#return 301 https://$server_name$request_uri;
|
||||
|
||||
}
|
||||
29
reverseProxy NGINX/usr/local/etc/nginx/service/photos.conf
Normal file
29
reverseProxy NGINX/usr/local/etc/nginx/service/photos.conf
Normal file
@@ -0,0 +1,29 @@
|
||||
server {
|
||||
#listen 80;
|
||||
listen 443 ssl;
|
||||
server_name photos.lefloch.eu;
|
||||
#server_name localhost;
|
||||
|
||||
ssl_certificate /usr/local/etc/letsencrypt/live/lefloch.eu/fullchain.pem;
|
||||
ssl_certificate_key /usr/local/etc/letsencrypt/live/lefloch.eu/privkey.pem;
|
||||
|
||||
ssl_session_cache shared:SSL:1m;
|
||||
ssl_session_timeout 5m;
|
||||
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
#charset koi8-r;
|
||||
|
||||
#access_log logs/host.access.log main;
|
||||
|
||||
location / {
|
||||
# root /usr/local/www/nginx;
|
||||
# index index.html index.htm;
|
||||
proxy_pass http://192.168.0.26:80;
|
||||
}
|
||||
|
||||
# Enforce HTTPS
|
||||
#return 301 https://$server_name$request_uri;
|
||||
|
||||
}
|
||||
39
reverseProxy NGINX/usr/local/etc/nginx/service/plex.conf
Normal file
39
reverseProxy NGINX/usr/local/etc/nginx/service/plex.conf
Normal file
@@ -0,0 +1,39 @@
|
||||
server {
|
||||
#listen 80;
|
||||
listen 443 ssl;
|
||||
server_name plex.lefloch.eu;
|
||||
#server_name localhost;
|
||||
|
||||
ssl_certificate /usr/local/etc/letsencrypt/live/lefloch.eu/fullchain.pem;
|
||||
ssl_certificate_key /usr/local/etc/letsencrypt/live/lefloch.eu/privkey.pem;
|
||||
|
||||
ssl_session_cache shared:SSL:1m;
|
||||
ssl_session_timeout 5m;
|
||||
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
#charset koi8-r;
|
||||
|
||||
#access_log logs/host.access.log main;
|
||||
|
||||
location / {
|
||||
# root /usr/local/www/nginx;
|
||||
# index index.html index.htm;
|
||||
proxy_pass http://192.168.0.29:32400;
|
||||
}
|
||||
|
||||
# Enforce HTTPS
|
||||
#return 301 https://$server_name$request_uri;
|
||||
|
||||
|
||||
#error_page 404 /404.html;
|
||||
|
||||
# redirect server error pages to the static page /50x.html
|
||||
#
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
location = /50x.html {
|
||||
root /usr/local/www/nginx-dist;
|
||||
}
|
||||
|
||||
}
|
||||
39
reverseProxy NGINX/usr/local/etc/nginx/service/rmess.conf
Normal file
39
reverseProxy NGINX/usr/local/etc/nginx/service/rmess.conf
Normal file
@@ -0,0 +1,39 @@
|
||||
server {
|
||||
#listen 80;
|
||||
listen 443 ssl;
|
||||
server_name rmess.lefloch.eu;
|
||||
#server_name localhost;
|
||||
|
||||
ssl_certificate /usr/local/etc/letsencrypt/live/lefloch.eu/fullchain.pem;
|
||||
ssl_certificate_key /usr/local/etc/letsencrypt/live/lefloch.eu/privkey.pem;
|
||||
|
||||
ssl_session_cache shared:SSL:1m;
|
||||
ssl_session_timeout 5m;
|
||||
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
#charset koi8-r;
|
||||
|
||||
#access_log logs/host.access.log main;
|
||||
|
||||
location / {
|
||||
root /www/rmess;
|
||||
index index.html index.htm;
|
||||
# proxy_pass http://192.168.0.29:32400;
|
||||
}
|
||||
|
||||
# Enforce HTTPS
|
||||
#return 301 https://$server_name$request_uri;
|
||||
|
||||
|
||||
#error_page 404 /404.html;
|
||||
|
||||
# redirect server error pages to the static page /50x.html
|
||||
#
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
location = /50x.html {
|
||||
root /usr/local/www/nginx-dist;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user