We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b61e486 + b5ca3a2 commit 61b3cd7Copy full SHA for 61b3cd7
Dockerfile
@@ -58,6 +58,7 @@ EXPOSE 80
58
59
60
# Enable Apache modules
61
+RUN a2enmod headers
62
RUN a2enmod php8.2
63
RUN a2enmod rewrite
64
config/web-sites-available/000-default.conf
@@ -59,6 +59,8 @@ ServerName localhost:8080
RewriteRule .*\.php$ "-" [F,L]
# Correct mimetype for .../rdf files
RewriteRule (.*/rdf$) $1 [T=application/rdf+xml]
+ # Enable CORS (cross-origin resource sharing)
+ Header set Access-Control-Allow-Origin "*"
</Directory>
65
Include /var/www/git/cc-legal-tools-data/config/language-redirects
66
RedirectPermanent /licenses/work-html-popup /choose
0 commit comments