mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-17 21:18:16 -06:00
Update 5-http-server.md
Add: "sudo nano /etc/apache2/sites-available/netbox.conf" and Change description Reason: To point out more strongly the necessary adjustment of the server name. I had overlooked it in the text. Add: Open in the browser https://Servername/ or ... without the port 8000! Add: I assumed that you still have to call it with port 8000. As in the pre-test. But it runs with 443
This commit is contained in:
parent
7cd9bcd3f5
commit
dc71faec87
@ -57,9 +57,11 @@ sudo apt install -y apache2
|
||||
```
|
||||
|
||||
Next, copy the default configuration file to `/etc/apache2/sites-available/`. Be sure to modify the `ServerName` parameter appropriately.
|
||||
(ParameterName ServerName = Server-Name or IP-Adress)
|
||||
|
||||
```no-highlight
|
||||
sudo cp /opt/netbox/contrib/apache.conf /etc/apache2/sites-available/netbox.conf
|
||||
sudo nano /etc/apache2/sites-available/netbox.conf
|
||||
```
|
||||
|
||||
Finally, ensure that the required Apache modules are enabled, enable the `netbox` site, and reload Apache:
|
||||
@ -74,6 +76,8 @@ sudo systemctl restart apache2
|
||||
|
||||
At this point, you should be able to connect to the HTTPS service at the server name or IP address you provided.
|
||||
|
||||
Open in the browser https://Servername/ or https://IP-Adress/ (depending on the netbox.conf entry) without the port 8000!
|
||||
|
||||
!!! info
|
||||
Please keep in mind that the configurations provided here are bare minimums required to get NetBox up and running. You may want to make adjustments to better suit your production environment.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user