Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
adabc143
authored
Aug 09, 2023
by
Archer
Committed by
GitHub
Aug 09, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
del file (#162)
parent
657d0ad3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
70 deletions
+0
-70
files/deploy/fastgpt/docker-compose.yml
+0
-0
files/deploy/fastgpt/nginx/nginx.conf
+0
-70
No files found.
files/deploy/fastgpt/docker-compose.yml
View file @
adabc143
This diff is collapsed.
Click to expand it.
files/deploy/fastgpt/nginx/nginx.conf
deleted
100644 → 0
View file @
657d0ad3
user
nginx
;
worker_processes
auto
;
worker_rlimit_nofile
51200
;
events
{
worker_connections
1024
;
}
http
{
resolver
8
.8.8.8
;
proxy_ssl_server_name
on
;
access_log
off
;
server_names_hash_bucket_size
512
;
client_header_buffer_size
64k
;
large_client_header_buffers
4
64k
;
client_max_body_size
50M
;
proxy_connect_timeout
240s
;
proxy_read_timeout
240s
;
proxy_buffer_size
128k
;
proxy_buffers
4
256k
;
gzip
on
;
gzip_min_length
1k
;
gzip_buffers
4
8k
;
gzip_http_version
1
.1
;
gzip_comp_level
6
;
gzip_vary
on
;
gzip_types
text/plain
application/x-javascript
text/css
application/javascript
application/json
application/xml
;
gzip_disable
"MSIE
[1-6]
\
."
;
open_file_cache
max=1000
inactive=1d
;
open_file_cache_valid
30s
;
open_file_cache_min_uses
8
;
open_file_cache_errors
off
;
server
{
listen
443
ssl
;
server_name
docgpt.ahapocket.cn
;
ssl_certificate
/ssl/docgpt.pem
;
ssl_certificate_key
/ssl/docgpt.key
;
ssl_session_timeout
5m
;
location
/
{
proxy_pass
http://localhost:3000
;
proxy_set_header
Host
$host
;
proxy_set_header
X-Real-IP
$remote_addr
;
proxy_set_header
X-Forwarded-For
$proxy_add_x_forwarded_for
;
}
}
server
{
listen
80
;
server_name
docgpt.ahapocket.cn
;
rewrite
^(.*)
https://
$server_name$1
permanent
;
}
server
{
listen
3000
;
server_name
120
.0.0.0
;
location
/
{
proxy_pass
http://localhost:3000
;
proxy_set_header
Host
$host
;
proxy_set_header
X-Real-IP
$remote_addr
;
proxy_set_header
X-Forwarded-For
$proxy_add_x_forwarded_for
;
}
}
}
\ No newline at end of file
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