-
-
Notifications
You must be signed in to change notification settings - Fork 87
/
Copy pathjson_scada_https.conf
85 lines (72 loc) · 2.57 KB
/
json_scada_https.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
## REMOVE FIRST COLUMN HASHTAGS TO ENABLE NGINX HTTPS SERVER!
## Please regenerate ssl certificates:
# server {
# server_name $hostname;
# server_tokens off;
# listen 443 ssl http2;
# listen [::]:443 ssl http2;
# ssl_certificate /home/jsonscada/json-scada/conf/nginx.crt;
# ssl_certificate_key /home/jsonscada/json-scada/conf/nginx.key;
# #ssl_client_certificate /home/jsonscada/json-scada/conf/ca.crt;
# #ssl_verify_client on;
# gzip on;
# gzip_buffers 16 8k;
# gzip_comp_level 4;
# gzip_http_version 1.0;
# gzip_min_length 1280;
# gzip_types *;
# gzip_vary on;
# gzip_disable msie6;
# #charset koi8-r;
# charset UTF-8;
# #charset ISO-8859-1;
# # IP-based access control
#
# # allow local access only by default
# allow 127.0.0.1;
#
# # to allow more clients/severs, configure the following option
# # allow _IP_hmi_client;
# # allow _IP_hmi_redundant_server;
#
# deny all;
# #location / {
# # root "/home/jsonscada/json-scada/src/htdocs/";
# # index index.html;
# #}
# location / {
# proxy_pass http://jsonscadarealtimewebserver/;
# proxy_set_header X-Forwarded-For $remote_addr;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header Host $http_host;
# }
# #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 html;
# }
# # redirect OData metadata url for PowerBI
# location ~ (.*)/\$metadata {
# rewrite (.*)/\$metadata$ $1?METADATA=1 permanent; break;
# return 403;
# }
# ## cache of SVG displays
# #location ~ ^/svg/.+(\.svg|\.js)$ {
# # add_header Cache-Control "no-cache, must-revalidate";
# # etag on;
# # root "/home/jsonscada/json-scada/svg/";
# #}
# # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
# #
# location ~ .php$ {
# include fastcgi.conf;
# root "/home/jsonscada/json-scada/src/htdocs/";
# fastcgi_pass phpbackend;
# fastcgi_keep_conn on;
# fastcgi_index index.php;
# fastcgi_read_timeout 10s;
# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
# }
# }