Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
mongoose
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ganil-acq
GANILinux
linux-service
library
mongoose
Commits
6b6637c3
Commit
6b6637c3
authored
10 years ago
by
Sergey Lyubka
Browse files
Options
Downloads
Patches
Plain Diff
Adopt SSL guide to current way of setting SSL cert.
parent
878acca2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/SSL.md
+5
-10
5 additions, 10 deletions
docs/SSL.md
with
5 additions
and
10 deletions
docs/SSL.md
+
5
−
10
View file @
6b6637c3
# Mongoose SSL guide
SSL is a protocol that makes web communication secure. To enable SSL
in mongoose,
3
steps are required:
in mongoose,
2
steps are required:
1.
Valid certificate file must be created
2.
`ssl_certificate`
options must be set to contain path to the
certificate file.
3.
`listening_ports`
option must contain a port number with letter
`s`
appended to it, which instructs Mongoose to use SSL for all connections
made to that port.
1.
Create valid SSL certificate file
2.
Append SSL certificate file path to the
`listening_ports`
option
Below is the
`mongoose.conf`
file snippet for typical SSL setup:
document_root www_root # Serve files in www_root directory
listening_ports 80r,443s # Redirect all HTTP requests to HTTPS
ssl_certificate ssl_cert.pem # Location of certificate file
document_root www_root # Serve files in www_root directory
listening_ports 80,443:cert.pem # Listen on ports 80 and 443
## How to create SSL certificate file
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment