-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnginx.dev.conf
More file actions
43 lines (36 loc) · 935 Bytes
/
nginx.dev.conf
File metadata and controls
43 lines (36 loc) · 935 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections 1024;
}
http {
server {
listen 80;
server_name anvlop.local;
server_tokens off;
location / {
proxy_pass http://ui-static:80;
proxy_set_header X-Forwarded-For $remote_addr;
}
}
server {
listen 80;
server_name api.anvlop.local;
server_tokens off;
location / {
proxy_pass http://api:3333;
proxy_set_header X-Forwarded-For $remote_addr;
}
}
server {
listen 80;
server_name admin.anvlop.local;
server_tokens off;
location / {
proxy_pass http://ui-admin:80;
proxy_set_header X-Forwarded-For $remote_addr;
}
}
}