Fix CORS for htmx
This commit is contained in:
parent
404eb0e66f
commit
dbd12a5c7b
@ -6,3 +6,9 @@ Details at [the blog post](http://ralsina.me/weblog/posts/the-cheapest-server.ht
|
||||
|
||||
When adding a new hostname, remember to create a cert for it using
|
||||
`flyctl certs create hostname`
|
||||
|
||||
Every 90 days the tailscale auth key will expire and you need to set a new one as
|
||||
a secret.
|
||||
|
||||
* Create the new one at https://login.tailscale.com/admin/settings/keys
|
||||
* Configure it using flyctl secrets set TAILSCALE_AUTHKEY={{PASTEKEYHERE}}
|
||||
|
@ -39,6 +39,7 @@ server {
|
||||
server_name faas.ralsina.me;
|
||||
|
||||
add_header 'Access-Control-Allow-Origin' '*';
|
||||
add_header 'Access-Control-Allow-Headers' '*';
|
||||
add_header 'Access-Control-Allow-Credentials' 'true';
|
||||
|
||||
location / {
|
||||
|
Loading…
Reference in New Issue
Block a user