-
-
Notifications
You must be signed in to change notification settings - Fork 72
Expand file tree
/
Copy pathnginx-config
More file actions
26 lines (21 loc) · 578 Bytes
/
Copy pathnginx-config
File metadata and controls
26 lines (21 loc) · 578 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# HTTPS server
#
server {
listen 1337;
root /var/www;
index index.html index.htm;
ssl on;
ssl_certificate /etc/nginx/ssl/cert.pem;
ssl_certificate_key /etc/nginx/ssl/cert.key;
ssl_session_timeout 5m;
ssl_protocols SSLv3;
#ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP;
ssl_ciphers DES-CBC3-SHA;
ssl_prefer_server_ciphers on;
location / {
add_header Set-Cookie 'auth=@mpgn_x64; HttpOnly';
add_header Last-Modified "";
keepalive_timeout 0;
try_files $uri $uri/ =404;
}
}