Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
joshine
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
joshine
Commits
38613e7f
Commit
38613e7f
authored
May 22, 2023
by
liumengfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
htaccess文件优化跨域
parent
5ff331c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
+1
-0
pub/.htaccess
+1
-0
No files found.
pub/.htaccess
View file @
38613e7f
...
@@ -267,6 +267,7 @@ ErrorDocument 403 /errors/404.php
...
@@ -267,6 +267,7 @@ ErrorDocument 403 /errors/404.php
# HTML documents and not for the other resources.
# HTML documents and not for the other resources.
<
FilesMatch
"\.(appcache|atom|bbaw|bmp|crx|css|cur|eot|f4[abpv]|flv|geojson|gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|topojson|tt[cf]|txt|vcard|vcf|vtt|webapp|web[mp]|webmanifest|woff2?|xloc|xml|xpi)$"
>
<
FilesMatch
"\.(appcache|atom|bbaw|bmp|crx|css|cur|eot|f4[abpv]|flv|geojson|gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|topojson|tt[cf]|txt|vcard|vcf|vtt|webapp|web[mp]|webmanifest|woff2?|xloc|xml|xpi)$"
>
Header
unset
X-UA-Compatible
Header
unset
X-UA-Compatible
Header
add
Access-Control-Allow-Origin "facebook.com"
</
FilesMatch
>
</
FilesMatch
>
## Prevent clickjacking
## Prevent clickjacking
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment