forked from yoohahn/cypress-self-signed-cert-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgateway.conf
44 lines (31 loc) · 760 Bytes
/
gateway.conf
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 443 ssl http2;
ssl_certificate /etc/ssl/dev.local.crt;
ssl_certificate_key /etc/ssl/dev.local.key;
server_name _;
location / {
root /usr/share/nginx/www;
index index.html;
}
location /fail {
root /usr/share/nginx/www;
index modern.html;
}
location /success {
root /usr/share/nginx/www;
index old.html;
}
}
}