줄바꿈을 LF로 통일
서버에서 바로 빌드하고 고칠 수 있게 저장소 줄바꿈을 LF로 맞췄습니다. CRLF로 들어가 있던 sh 빌드 스크립트도 이제 리눅스에서 그대로 돌아갑니다. 내용은 바뀌지 않았습니다.
This commit is contained in:
1 parent
40615838ac
commit
2d48091205
623 files changed
+501372
-501365
No files matched your search
+28
-28
@@ -1,28 +1,28 @@
|
||||
limit_conn_zone $server_name zone=archive_parallel:1m;
|
||||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
charset utf-8;
|
||||
client_max_body_size 17m;
|
||||
location /api/ {
|
||||
limit_conn archive_parallel 4;
|
||||
resolver 127.0.0.11 valid=10s ipv6=off;
|
||||
set $backup_host backup;
|
||||
proxy_pass http://$backup_host:8080;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $http_x_real_ip;
|
||||
proxy_read_timeout 120s;
|
||||
proxy_send_timeout 120s;
|
||||
add_header X-Robots-Tag noindex always;
|
||||
}
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
add_header Cache-Control "no-cache";
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
}
|
||||
location ~ /\. { deny all; }
|
||||
gzip on;
|
||||
gzip_types text/plain application/javascript application/json;
|
||||
}
|
||||
limit_conn_zone $server_name zone=archive_parallel:1m;
|
||||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
charset utf-8;
|
||||
client_max_body_size 17m;
|
||||
location /api/ {
|
||||
limit_conn archive_parallel 4;
|
||||
resolver 127.0.0.11 valid=10s ipv6=off;
|
||||
set $backup_host backup;
|
||||
proxy_pass http://$backup_host:8080;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $http_x_real_ip;
|
||||
proxy_read_timeout 120s;
|
||||
proxy_send_timeout 120s;
|
||||
add_header X-Robots-Tag noindex always;
|
||||
}
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
add_header Cache-Control "no-cache";
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
}
|
||||
location ~ /\. { deny all; }
|
||||
gzip on;
|
||||
gzip_types text/plain application/javascript application/json;
|
||||
}
|
||||
Reference in new issue
Block a user