Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
blocks:server_configuration_file [2023-05-04 06:56] admin typo |
blocks:server_configuration_file [2024-05-17 07:41] (current) admin defaultSpotCSS added note |
||
---|---|---|---|
Line 33: | Line 33: | ||
#corsPath: / | #corsPath: / | ||
# | # | ||
+ | |||
applicationConnectors: | applicationConnectors: | ||
- type: http | - type: http | ||
port: 8080 | port: 8080 | ||
- | | + | |
+ | # | ||
+ | # servlet: | ||
+ | # security: | ||
+ | # - matchers: internalMatcher | ||
+ | # authorizers: | ||
+ | # clients: internalDigest | ||
+ | |||
scripting: | scripting: | ||
watchFiles: true | watchFiles: true | ||
Line 73: | Line 81: | ||
* **root**. Absolute path to Blocks' | * **root**. Absolute path to Blocks' | ||
- | * **serverRootRedirect**. Server path to go to when accessing the root level of the server. This is often used to specify the path to a Visitor Spot to be accessed by default by guests. | + | * **serverRootRedirect**. Server path to go to when accessing the root level of the server. This is often used to specify the path to a Visitor Spot to be accessed by default by guests |
- | * **defaultSpotCSS**. Specifies a default CSS file that will be automatically applied to all Spots. The path, if any, must be specified | + | * **defaultSpotCSS**. Specifies a default CSS file that will be automatically applied to all Spots. The path must be relative (with no leading slash), and is then relative to the server' |
* **homeScreenIcon**. Specifies a custom home screen icon, to appear when adding a Spot to the home screen on an iOS or Android device. Specify the URL to the image file, which must be 180 x 180 pixels. Preferably, store the image on the Blocks server under / | * **homeScreenIcon**. Specifies a custom home screen icon, to appear when adding a Spot to the home screen on an iOS or Android device. Specify the URL to the image file, which must be 180 x 180 pixels. Preferably, store the image on the Blocks server under / | ||
* **defaultNetwork**. Address of network interface (NIC) to be use for general broadcast data, such as wake-on-LAN packets. Set this to the NIC used by such devices if your server has more than one active NIC, to avoid having such data go out the wrong NIC. | * **defaultNetwork**. Address of network interface (NIC) to be use for general broadcast data, such as wake-on-LAN packets. Set this to the NIC used by such devices if your server has more than one active NIC, to avoid having such data go out the wrong NIC. | ||
Line 121: | Line 129: | ||
=== server: auth === | === server: auth === | ||
- | Specifies advanced authentication and authorization options. In most cases, you don't need to specify these settings. | + | Specifies advanced authentication and authorization options. The settings shown above correspond to the defaults if no auth section is provided. In most cases, you don't need to specify these settings. |
+ | |||
+ | :!: **IMPORTANT**: | ||
==== Top level tftp item ==== | ==== Top level tftp item ==== | ||
Specifies options for the built-in TFTP-server. This is intended for [[blocks: | Specifies options for the built-in TFTP-server. This is intended for [[blocks: | ||
Line 218: | Line 228: | ||
username: pixi # Default is no username and password | username: pixi # Default is no username and password | ||
password: pixi | password: pixi | ||
+ | encryption: false #Change to true if secure connection (tls) is available. | ||
</ | </ | ||