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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user