File tree Expand file tree Collapse file tree 1 file changed +14
-16
lines changed Expand file tree Collapse file tree 1 file changed +14
-16
lines changed Original file line number Diff line number Diff line change 1- http {
2- log_format path_status '$request_uri $status $remote_addr';
1+ server {
2+ listen 80;
3+ server_name localhost;
4+ root /usr/share/nginx/html;
35
4- server {
5- listen 80;
6- server_name localhost;
7- root /usr/share/nginx/html;
6+ log_format path_status '$request_uri $status $remote_addr';
87
9- access_log /var/log/nginx/access.log path_status;
8+ access_log /var/log/nginx/access.log path_status;
109
11- location / {
12- sub_filter '{{ UID_JS_SDK_URL }}' '${UID_JS_SDK_URL}';
13- sub_filter '{{ UID_JS_SDK_NAME }}' '${UID_JS_SDK_NAME}';
14- sub_filter '{{ UID_BASE_URL }}' '${UID_BASE_URL}';
15- sub_filter '{{ SERVER_PUBLIC_KEY }}' '${SERVER_PUBLIC_KEY}';
16- sub_filter '{{ SUBSCRIPTION_ID }}' '${SUBSCRIPTION_ID}';
17- sub_filter_types *;
18- sub_filter_once off;
19- }
10+ location / {
11+ sub_filter '{{ UID_JS_SDK_URL }}' '${UID_JS_SDK_URL}';
12+ sub_filter '{{ UID_JS_SDK_NAME }}' '${UID_JS_SDK_NAME}';
13+ sub_filter '{{ UID_BASE_URL }}' '${UID_BASE_URL}';
14+ sub_filter '{{ SERVER_PUBLIC_KEY }}' '${SERVER_PUBLIC_KEY}';
15+ sub_filter '{{ SUBSCRIPTION_ID }}' '${SUBSCRIPTION_ID}';
16+ sub_filter_types *;
17+ sub_filter_once off;
2018 }
2119}
You can’t perform that action at this time.
0 commit comments