Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-dockerfiles
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qg-dockerfiles
Commits
a6ff4b05
Commit
a6ff4b05
authored
Apr 17, 2020
by
zhijie.xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
兼容微前端
parent
d4bfc8f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
default.conf
production/ui/default.conf
+4
-0
No files found.
production/ui/default.conf
View file @
a6ff4b05
...
@@ -19,6 +19,10 @@ server {
...
@@ -19,6 +19,10 @@ server {
#charset koi8-r;
#charset koi8-r;
#access_log /var/log/nginx/host.access.log main;
#access_log /var/log/nginx/host.access.log main;
# 微前端访问
add_header
'Access-Control-Allow-Origin'
'*'
;
add_header
'Access-Control-Allow-Credentials'
'true'
;
location
= /
favicon
.
ico
{
location
= /
favicon
.
ico
{
access_log
off
;
access_log
off
;
log_not_found
off
;
log_not_found
off
;
...
...
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