File tree Expand file tree Collapse file tree 3 files changed +3
-26
lines changed
frontend/js/app/settings/default-site Expand file tree Collapse file tree 3 files changed +3
-26
lines changed Original file line number Diff line number Diff line change 55 proxy_set_header X-Forwarded-For $remote_addr;
66 proxy_pass {{ forward_scheme }}://{{ forward_host }}:{{ forward_port }};
77 {{ advanced_config }}
8- }
8+ }
9+
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ server {
2525{%- if value == "html" %}
2626 root /data/nginx/default_www;
2727 location / {
28- try_files $uri /index.html ={{ meta.http_code }} ;
28+ try_files $uri /index.html;
2929 }
3030{%- endif %}
3131}
Original file line number Diff line number Diff line change 3838 </div >
3939
4040 <div class =" col-sm-12 col-md-12 option-item option-html" >
41- <div class =" form-group" >
42- <label class =" form-label" >HTTP Status Code</label >
43- <%
44- var code = meta && typeof meta .http_code !== ' undefined' ? parseInt (meta .http_code , 10 ) : 200 ;
45- var codes = [
46- [200 , ' OK' ],
47- [204 , ' No Content' ],
48- [400 , ' Bad Request' ],
49- [401 , ' Unauthorized' ],
50- [403 , ' Forbidden' ],
51- [404 , ' Not Found' ],
52- [418 , ' I\' m a Teapot' ],
53- [500 , ' Internal Server Error' ],
54- [501 , ' Not Implemented' ],
55- [502 , ' Bad Gateway' ],
56- [503 , ' Service Unavailable' ]
57- ];
58- %>
59- <select class =" custom-select" name =" meta[http_code]" >
60- <% codes .map (function (item ) { % >
61- < option value= " <%- item[0] %>" < %- code === item[0 ] ? ' selected' : ' ' % >> < %- item[0 ] % > - < %- item[1 ] % >< / option>
62- < % }); %>
63- </select >
64- </div >
6541 <div class =" form-group" >
6642 <div class =" form-label" >HTML Content</div >
6743 <textarea class =" form-control text-monospace html-content" name =" meta[html]" rows =" 6" placeholder =" <!-- Enter your HTML here -->" ><% - meta && typeof meta .html !== ' undefined' ? meta .html : ' ' %> </textarea >
You can’t perform that action at this time.
0 commit comments