first commit
This commit is contained in:
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