mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-20 22:52:46 -05:00
add some docs for specifying listen addresses
This commit is contained in:
parent
6d58d5920e
commit
89353f9312
1 changed files with 15 additions and 8 deletions
|
@ -80,15 +80,22 @@ packages:
|
|||
# if you use nginx with custom path, use this to override links
|
||||
#url_prefix: https://dev.company.local/sinopia/
|
||||
|
||||
# you can specify listen address (or simply a port)
|
||||
# to listen on INADDR_ANY use 0.0.0.0:4873
|
||||
#listen: localhost:4873
|
||||
# You can specify listen address (or simply a port).
|
||||
# If you add multiple values, sinopia will listen on all of them.
|
||||
#
|
||||
# Examples:
|
||||
#
|
||||
#listen:
|
||||
# - localhost:4873 # default value
|
||||
# - http://localhost:4873 # same thing
|
||||
# - 0.0.0.0:4873 # listen on all addresses (INADDR_ANY)
|
||||
# - https://example.org:4873 # if you want to use https
|
||||
# - [::1]:4873 # ipv6
|
||||
|
||||
# Configure HTTPS. Set enable to true and supply a key and cert to enable HTTPS.
|
||||
https:
|
||||
enable: false
|
||||
key: path/to/server.key
|
||||
cert: path/to/server.crt
|
||||
# Configure HTTPS, it is required if you use "https" protocol above.
|
||||
#https:
|
||||
# key: path/to/server.key
|
||||
# cert: path/to/server.crt
|
||||
|
||||
# type: file | stdout | stderr
|
||||
# level: trace | debug | info | http (default) | warn | error | fatal
|
||||
|
|
Loading…
Add table
Reference in a new issue