Open demasjidofficial opened 2 years ago
sepertinya ini setting virtualhost yang masih belum sesuai, karena ketika lihat halaman profile di domain yang lain gambar tersebut muncul. Berikut virtualhost milik gate, server { listen 443 ssl http2 default_server; listen [::]:443 ssl http2 default_server; server_name gate.demasjid.com; root /var/www/html/demasjid_core/domains/gate; ssl_certificate /etc/letsencrypt/live/gate.demasjid.com/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/gate.demasjid.com/privkey.pem; # managed by Certbot ssl_session_cache shared:SSL:1m; ssl_session_timeout 10m; ssl_ciphers PROFILE=SYSTEM; ssl_prefer_server_ciphers on;
# Load configuration files for the default server block.
include /etc/nginx/default.d/*.conf;
location / {
# proxy_pass https://gate.demasjid.com/login;
try_files $uri $uri/ /index.php$is_args$args;
}
error_page 404 /404.html;
location = /40x.html {
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
}
}
#proxy_pass https://gate.demasjid.com/login;
kita komentar dulu, sambil cari cara agar ketika akses gate.demasjid.com bisa diredirect langsung ke gate.demasjid.com/login namun dikecualikan untuk path gambar dll
sepertinya ini setting virtualhost yang masih belum sesuai, karena ketika lihat halaman profile di domain yang lain gambar tersebut muncul. Berikut virtualhost milik gate, server { listen 443 ssl http2 default_server; listen [::]:443 ssl http2 default_server; server_name gate.demasjid.com; root /var/www/html/demasjid_core/domains/gate; ssl_certificate /etc/letsencrypt/live/gate.demasjid.com/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/gate.demasjid.com/privkey.pem; # managed by Certbot ssl_session_cache shared:SSL:1m; ssl_session_timeout 10m; ssl_ciphers PROFILE=SYSTEM; ssl_prefer_server_ciphers on;
# Load configuration files for the default server block. include /etc/nginx/default.d/*.conf; location / { # proxy_pass https://gate.demasjid.com/login; try_files $uri $uri/ /index.php$is_args$args; } error_page 404 /404.html; location = /40x.html { } error_page 500 502 503 504 /50x.html; location = /50x.html { }
}
#proxy_pass https://gate.demasjid.com/login;
kita komentar dulu, sambil cari cara agar ketika akses gate.demasjid.com bisa diredirect langsung ke gate.demasjid.com/login namun dikecualikan untuk path gambar dll
OK noted