You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
server {
listen 3000 SSL;
server_name xxxx.net;
passenger_startup_file app.js;
passenger_app_type node;
ssl on;
ssl_certificate /etc/letsencrypt/live/vmi370955.contaboserver.net/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/vmi370955.contaboserver.net/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
location /var/canvas/canvas-rce-api {
# Activer le proxy
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_pass http://xxxx.net:3000;
proxy_redirect off;
proxy_buffers 32 16k;
proxy_busy_buffers_size 64k;
}
but I still have problem cors !!
Access to fetch at 'https://xxxxr.net:3000/api/folders?
contextType=course&contextId=1' from origin 'https://xxxx.net' has been
blocked by CORS policy: Response to preflight request doesn't pass access control check: No
'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque
response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
I make this
but I still have problem cors !!
I really added CORS headers but doesn't work
any ideas please !
The text was updated successfully, but these errors were encountered: