Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
I
init-things
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
init-things
Commits
b8c97da1
Commit
b8c97da1
authored
Jul 03, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nginx
parent
4482e9f7
Pipeline
#3905
passed with stages
in 1 minute and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
things/rocketchat/for-nginx.conf
things/rocketchat/for-nginx.conf
+25
-0
No files found.
things/rocketchat/for-nginx.conf
0 → 100644
View file @
b8c97da1
server
{
listen
80
;
listen
443
ssl
http2
;
server_name
chat
.
momobako
.
com
;
ssl_certificate
certs
/
yuzurisa
.
com
/
fullchain
.
pem
;
ssl_certificate_key
certs
/
yuzurisa
.
com
/
privkey
.
pem
;
if
($
https
!=
"on"
) {
return
301
https
://$
host
$
request_uri
;
}
add_header
Strict
-
Transport
-
Security
"max-age=63072000; includeSubDomains; preload"
always
;
location
/ {
proxy_pass
http
://
myrocketchat
:
3000
;
proxy_http_version
1
.
1
;
proxy_set_header
Upgrade
$
http_upgrade
;
proxy_set_header
Connection
"upgrade"
;
proxy_set_header
Host
$
http_host
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
X
-
Forwarded
-
Proto
https
;
proxy_set_header
X
-
Nginx
-
Proxy
true
;
proxy_redirect
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