Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
hfpp2012
/
docker-for-discuz
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 30dbb7e0
authored
Mar 02, 2017
by
terryshi
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
update
1 parent
2ae49abf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
README.md
README.md
View file @
30dbb7e
...
@@ -20,3 +20,23 @@ port mapping
...
@@ -20,3 +20,23 @@ port mapping
```
```
##make sure database host is mariadb
##make sure database host is mariadb
## nignx
upstream your_domain_name {
server 127.0.0.1:port;
}
server
{
listen 80;
server_name your_domain_name;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_pass http://your_domain_name;
}
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment