-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver.conf
More file actions
19 lines (13 loc) · 751 Bytes
/
server.conf
File metadata and controls
19 lines (13 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# This is the configuration file for the Server written in Python.
# ServerLocation is the where the server files are located
# You don't need to put a trailing slash
# For example: ServerLocation /etc/python_server
ServerLocation /etc/http_server_python
# Listen allows you to set the IP address and port the server works on
# Listen 80 sets the server to listen on port 80
# Listen 127.0.0.1:80 sets the server to listen on the address 127.0.0.1 on port 80. This is the default configuration on the server.
Listen 127.0.0.1:80
# WebsiteFiles is the location of where all the website files are located
# You don't need to put a trailing slash.
# For example: WebsiteFiles /etc/python_server/website
WebsiteFiles /etc/http_server_python/website