Skip to content
Snippets Groups Projects
Commit f967eabe authored by godog's avatar godog
Browse files

Use 'Header always' to merge ActivityPub Vary header

parent dac9948a
No related branches found
No related tags found
No related merge requests found
Pipeline #60897 passed
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
DocumentRoot /opt/noblogs/www DocumentRoot /opt/noblogs/www
SetEnvIf X-Forwarded-Proto https HTTPS=on SetEnvIf X-Forwarded-Proto https HTTPS=on
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1 SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
<Directory /opt/noblogs/www> <Directory /opt/noblogs/www>
Options FollowSymLinks Indexes Options FollowSymLinks Indexes
...@@ -23,10 +23,13 @@ ...@@ -23,10 +23,13 @@
Options -Indexes Options -Indexes
</Directory> </Directory>
# Support ActivityPub content negotiation on user profiles. # Support ActivityPub content negotiation on user profiles.
<Location /post/author/> <Location /post/author/>
Header merge Vary "Accept" Header always merge Vary "Accept"
</Location> </Location>
<Location /.well-known/>
Header always merge Vary "Accept"
</Location>
</VirtualHost> </VirtualHost>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment