1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/akkoma_ynh.git synced 2024-09-03 20:36:17 +02:00

Use __PORT__ instead of fixed value

This commit is contained in:
lapineige 2023-06-10 11:48:10 +02:00 committed by GitHub
parent 69768d63fe
commit 56cbb65299
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,5 +50,5 @@ location ~ ^/(media|proxy) {
# added some stuff that seirdy said to add to make me bullet proof. B-) https://akkoma.dev/AkkomaGang/akkoma/issues/547#issuecomment-9261
more_set_headers "Content-Security-Policy : script-src 'none'; default-src 'none'; upgrade-insecure-requests; base-uri 'none'; form-action 'none'; 'sandbox';";
proxy_pass http://localhost:8095;
proxy_pass http://localhost:__PORT__;
}