Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ################## global section #######################
- location /archive {
- proxy_pass http://192.168.10.7;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive2_dash;
- proxy_intercept_errors on;
- log_not_found off;
- }
- location @archive2_dash {
- proxy_pass http://192.168.10.11;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive3_dash;
- proxy_intercept_errors on;
- log_not_found off;
- }
- location @archive3_dash {
- proxy_pass http://192.168.10.4;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive4_dash;
- proxy_intercept_errors on;
- log_not_found off;
- }
- location @archive4_dash {
- proxy_pass http://192.168.10.5;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive5_dash;
- proxy_intercept_errors on;
- log_not_found off;
- }
- location @archive5_dash {
- proxy_pass http://192.168.10.22;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive6_dash;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s6
- location @archive6_dash {
- proxy_pass http://192.168.51.200;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive7_dash;
- proxy_intercept_errors on;
- log_not_found off;
- }
- location @archive7_dash {
- proxy_pass http://192.168.10.24;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive8_dash;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s7
- location @archive8_dash {
- proxy_pass http://192.168.10.28;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive9_dash;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s10
- location @archive9_dash {
- proxy_pass http://192.168.10.25;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive10_dash;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s8n
- location @archive10_dash {
- proxy_pass http://192.168.10.26;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive11_dash;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s11
- location @archive11_dash {
- proxy_pass http://192.168.10.27;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive12_dash;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s15
- location @archive12_dash {
- proxy_pass http://192.168.10.32;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive13_dash;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s13
- location @archive13_dash {
- proxy_pass http://192.168.10.30;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive14_dash;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s14
- location @archive14_dash {
- proxy_pass http://192.168.10.31;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive15_dash;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s12
- location @archive15_dash {
- proxy_pass http://192.168.10.29;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive16_dash;
- proxy_intercept_errors on;
- log_not_found off;
- }
- location /dca0466aef6e1b82d000cfe68bee4a10 {
- proxy_pass http://192.168.10.7;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive2;
- proxy_intercept_errors on;
- log_not_found off;
- }
- location @archive2 {
- proxy_pass http://192.168.10.11;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive3;
- proxy_intercept_errors on;
- log_not_found off;
- }
- location @archive3 {
- proxy_pass http://192.168.10.4;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive4;
- proxy_intercept_errors on;
- log_not_found off;
- }
- location @archive4 {
- proxy_pass http://192.168.10.5;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive5;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s5
- location @archive5 {
- proxy_pass http://192.168.10.22;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive6;
- proxy_intercept_errors on;
- log_not_found off;
- }
- location @archive6 {
- proxy_pass http://192.168.51.200;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive7;
- proxy_intercept_errors on;
- log_not_found off;
- }
- location @archive7 {
- proxy_pass http://192.168.10.24;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive8;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s7
- location @archive8 {
- proxy_pass http://192.168.10.28;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive9;
- proxy_intercept_errors on;
- log_not_found off;
- }
- location @archive9 {
- proxy_pass http://192.168.10.25;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive10;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s8
- location @archive10 {
- proxy_pass http://192.168.10.26;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive11;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s11
- location @archive11 {
- proxy_pass http://192.168.10.27;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive12;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s15
- location @archive12 {
- proxy_pass http://192.168.10.32;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive13;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s13
- location @archive13 {
- proxy_pass http://192.168.10.30;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive14;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s14
- location @archive14 {
- proxy_pass http://192.168.10.31;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive15;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s12
- location @archive15 {
- proxy_pass http://192.168.10.29;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive16;
- proxy_intercept_errors on;
- log_not_found off;
- }
- ####### delete from section archive
- location /27632a1d3ab776f38320dcbe3c2b8f4e {
- proxy_pass http://192.168.10.7;
- proxy_set_header Host $http_host;
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive2_listing;
- proxy_intercept_errors on;
- log_not_found off;
- }
- location @archive2_listing {
- proxy_pass http://192.168.10.11;
- proxy_set_header Host $http_host;
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive3_listing;
- proxy_intercept_errors on;
- log_not_found off;
- }
- location @archive3_listing {
- proxy_pass http://192.168.10.4;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive4_listing;
- proxy_intercept_errors on;
- log_not_found off;
- }
- location @archive4_listing {
- proxy_pass http://192.168.10.5;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive5_listing;
- proxy_intercept_errors on;
- log_not_found off;
- }
- location @archive5_listing {
- proxy_pass http://192.168.10.22;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive6_listing;
- proxy_intercept_errors on;
- log_not_found off;
- }
- location @archive6_listing {
- proxy_pass http://192.168.51.200;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive7_listing;
- proxy_intercept_errors on;
- log_not_found off;
- }
- location @archive7_listing {
- proxy_pass http://192.168.10.24;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive8_listing;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s7
- location @archive8_listing {
- proxy_pass http://192.168.10.28;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive9_listing;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s
- location @archive9_listing {
- proxy_pass http://192.168.10.25;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive10_listing;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s8
- location @archive10_listing {
- proxy_pass http://192.168.10.26;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive11_listing;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s11
- location @archive11_listing {
- proxy_pass http://192.168.10.27;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive12_listing;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s15
- location @archive12_listing {
- proxy_pass http://192.168.10.32;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive13_listing;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s13
- location @archive13_listing {
- proxy_pass http://192.168.10.30;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive14_listing;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s14
- location @archive14_listing {
- proxy_pass http://192.168.10.31;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive15_listing;
- proxy_intercept_errors on;
- log_not_found off;
- }
- #s12
- location @archive15_listing {
- proxy_pass http://192.168.10.29;
- proxy_set_header Host $http_host;
- add_header 'Access-Control-Allow-Origin' '*';
- add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
- error_page 500 502 404 = @archive16_listing;
- proxy_intercept_errors on;
- log_not_found off;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement