You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is no error, you can enable and start/restart the nginx service :
146
+
147
+
```
148
+
sudo systemctl enable nginx
149
+
sudo service nginx restart
150
+
```
151
+
152
+
You should now be able to navigate to `www.taxplorer.eu`. If you do not have yet
153
+
a binding between the domain name `www.taxplorer.eu` and the IP of the server
154
+
hosting the website, you can anyway test the connection by getting the IP of
155
+
the server with `ip addr` and then going to `http://IP_OF_THE_SERVER`.
156
+
157
+
### Adding the SSL support for https
158
+
159
+
For adding the SSL support for secured connection, we will use [certbot](https://certbot.eff.org/). For example, on a debian + nginx configuration, the steps to follow are :
160
+
161
+
```
162
+
sudo apt update && sudo apt install -y snapd
163
+
sudo snap install --classic certbot
164
+
sudo ln -s /snap/bin/certbot /usr/bin/certbot
165
+
sudo certbot --nginx
166
+
```
167
+
168
+
From there, you will have to select the website for which you want to get and
169
+
install a SSL certificate. Certbot will also modify your
170
+
`/etc/nginx/sites-enabled/d4g-dataviz` file to 1) redirect any connection to
171
+
port `80` to port `443` and adds the definition for using the certificate. For
172
+
example, below is the definition for the development website :
0 commit comments