18 lines
477 B
Markdown
Executable File
18 lines
477 B
Markdown
Executable File
```
|
|
```
|
|
listen 1064;
|
|
server_name 10.10.200.45;
|
|
# charset koi8-r;
|
|
# access_log logs/host.access.log main;
|
|
location / {
|
|
root html;
|
|
```sql
|
|
index index.html index.htm;
|
|
```
|
|
add_header Access-Control-Allow-Origin *;
|
|
add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS';
|
|
add_header Access-Control-Allow-Headers 'DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization';
|
|
proxy_pass http://10.10.200.45:1060;
|
|
}
|
|
```
|
|
``` |