Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
6ac2fa2a
Commit
6ac2fa2a
authored
Oct 28, 2014
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated listening_port for SSL option
parent
0322ec56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
Options.md
docs/Options.md
+8
-7
No files found.
docs/Options.md
View file @
6ac2fa2a
...
...
@@ -99,16 +99,17 @@ not set.
Comma-separated list of files to be treated as directory index
files. Default:
`index.html,index.htm,index.cgi,index.shtml,index.php`
### ssl_certificate
Path to SSL certificate file. The file must be in PEM format,
and it must have both private key and certificate, see for example
[
ssl_cert.pem
](
https://github.com/cesanta/mongoose/blob/master/build/ssl_cert.pem
)
. If this option is set, then Mongoose serves SSL connections on
`listening_port`
. Default: not set.
### listening_port
Port to listen on. Port could be prepended by the specific IP address to bind
to, e.g.
`mongoose -listening_port 127.0.0.1:8080`
. Otherwise Mongoose
will bind to all addresses. Default: 8080.
will bind to all addresses. To enable SSL, build Mongoose with
`-DNS_ENABLE_SSL`
compilation option, and specify
`listening_port`
as
`ssl://PORT:SSL_CERTIFICATE.PEM`
. Example SSL listener:
`mongoose -listening_port ssl://8043:ssl_cert.pem`
. Note that PEM file should
be in PEM format, and must have both certificate and private key in it,
concatenated together. More than one listening port can be specified,
separated by comma,
for example
`mongoose -listening_port 8080,8000`
. Default: 8080.
### run\_as\_user
Switch to given user credentials after startup. UNIX-only. This option is
...
...
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