This commit is contained in:
@@ -401,13 +401,13 @@ upstream ceph_rgw_backend {
|
||||
server 192.168.0.75:7480 max_fails=3 fail_timeout=5s;
|
||||
server 192.168.0.89:7480 max_fails=3 fail_timeout=5s; # Замените IP на точные, если отличаются
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name s3.guaranteedstruggle.host *.s3.guaranteedstruggle.host;
|
||||
# server {
|
||||
# listen 80;
|
||||
# server_name s3.guaranteedstruggle.host *.s3.guaranteedstruggle.host;
|
||||
|
||||
# Жесткий редирект на безопасный HTTPS
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
# # Жесткий редирект на безопасный HTTPS
|
||||
# return 301 https://$host$request_uri;
|
||||
# }
|
||||
|
||||
|
||||
# server {
|
||||
|
||||
Reference in New Issue
Block a user