Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
douban-api-proxy
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
douban-api-proxy
Commits
b8c539d4
Commit
b8c539d4
authored
Jul 07, 2018
by
OzzieIsaacs
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'reverseproxy/master'
parents
420f685f
ce560bf4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
readme.md
readme.md
+6
-1
No files found.
readme.md
View file @
b8c539d4
...
@@ -131,8 +131,9 @@ http {
...
@@ -131,8 +131,9 @@ http {
server 127.0.0.1:8083;
server 127.0.0.1:8083;
}
}
server {
server {
client_max_body_size 20M;
location /calibre {
location /calibre {
proxy_bind
$server_addr
;
proxy_bind
http://calibre
;
proxy_pass http://127.0.0.1:8083;
proxy_pass http://127.0.0.1:8083;
proxy_set_header Host $http_host;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
...
@@ -142,6 +143,10 @@ http {
...
@@ -142,6 +143,10 @@ http {
}
}
}
}
```
```
*Note: If using SSL in your reverse proxy on a non-standard port, the following proxy_redirect line may be required:*
```
proxy_redirect http://$host/ https://$host:12345/;
```
Apache 2.4 configuration for a local server listening on port 443, mapping calibre web to /calibre-web:
Apache 2.4 configuration for a local server listening on port 443, mapping calibre web to /calibre-web:
...
...
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