forked from assetto-corsa-web/accweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample_config.yml
53 lines (44 loc) · 2 KB
/
sample_config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# accweb server and application configuration.
# https://github.com/assetto-corsa-web/accweb
webserver:
# Sets the host and port.
# Port 80 is the default port for web servers and might be blocked on your maschine.
# If that is the case you can use anything else like 8080 for example.
# 0.0.0.0 exposes accweb on the internet.
host: 0.0.0.0:80
# Set tls to true and provide paths to the key files in order to enable SSL.
# This is highly recommended as otherwise your passwords and all other traffic won't be encrypted!
# accweb will probably support automatic Letsencrypt certificates in the future.
tls: false
cert: path to ssl certificate
private_key: path to ssl private key
# http write/read timeouts
# technical stuff you shouldn't mess around with
write_timeout: 5
read_timeout: 5
auth:
# Set the admin, moderator and read only user password.
# accweb won't start without an admin password.
admin_password: admin-password
moderator_password: moderator-password
read_only_password: read-only-password
# Path to public and private token key files.
# These must be provided as they are required to generate save tokens for authentication.
# accweb won't start without them. They will be automatically generated if accweb finds the gen_rsa_keys script
# next to the accweb executable. So you will most likely be able to start the server without touching this.
public_key_path: secrets/token.public
private_key_path: secrets/token.private
acc:
# Path to ACC server installation directory.
# Use forward slashes (even if you're on Windows!). The example path is for Linux.
server_path: "/home/username/.steam/steam/steamapps/common/Assetto Corsa Competizione/server"
# Name of the server executable within the server installation directory.
# You don't need to change this (except the ACC devs change its name for some reason).
server_exe: accServer.exe
# TECHNICAL STUFF FROM HERE ON
config_path: config/
dev: false
loglevel: info
cors:
origins: "*"
loglevel: info