first commit

This commit is contained in:
2026-03-18 22:33:14 +01:00
parent 14a7731503
commit f30bfd6d61
25 changed files with 1735 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
# Reverse proxy NGINX
## IP
192.168.0.14
Accepte 80 et 443
## Config
Il tourne sur une VM dédiée. La conf est sur nginx.conf dans /usr/local/etc/nginx/service
Un script principal appelle les autres et sinon va vers traefik.
Commande la plus importante :
```
certbot certonly --dns-ovh --dns-ovh-credentials /root/.ovhapi -d '*.lefloch.eu'
```
## TO DO
Un cron pour le certbot

View File

@@ -0,0 +1,364 @@
1 22:03 nano /root/.ovhapi
2 22:03 pkg update
3 22:04 pkg install python ngnix nano
4 22:04 pkg install nginx nano python
5 22:06 syssrc nginx_enable=yes
6 22:06 sysrc nginx_enable=yes
7 22:07 pkg install py39-cerbot py39-cerbot-dns-ovh openssl
8 22:07 pkg install py39-certbot py39-certbot-dns-ovh openssl
9 22:08 ifconfig
10 22:10 service ngnix onestart
11 22:10 service ngnix onestart
12 22:10 service ngnix onerestart
13 22:10 ngnix
14 22:10 certbot
15 22:11 pkg install nginx nano python
16 22:11 pkg update
17 22:12 pkg install py39-certbot py39-certbot-dns-ovh openssl
18 22:13 ifconfig
19 22:14 service ngnix onestart
20 22:14 sysrc nginx_enable=yes
21 22:16 service nginx start
22 22:16 service nginx stop
23 22:17 nano /root/.ovhapi
24 22:17 chmod 600 /root/.ovhapi
25 22:18 certbot certonly --dns-ovh --dns-ovh-credentials /root/.ovhapi -d '*.lefloch.eu'
26 22:21 service nginx start
27 22:21 service nginx stop
28 22:22 cd /usr/local/etc/nginx/
29 22:22 nano nginx.conf
30 22:26 nano nginx.conf
31 22:30 service nginx start
32 22:32 service nginx stop
33 22:33 nano nginx.conf
34 22:35 service nginx start
35 22:35 nano nginx.conf
36 22:35 service nginx start
37 22:36 nano nginx.conf
38 22:36 service nginx start
39 22:36 nano nginx.conf
40 22:37 service nginx start
41 22:37 nano nginx.conf
42 22:38 service nginx start
43 22:38 nano nginx.conf
44 22:39 service nginx start
45 22:39 nano nginx.conf
46 22:40 service nginx staop
47 22:40 service nginx stop
48 22:40 service nginx start
49 9:19 nano /usr/local/etc/nginx/
50 9:20 cd /usr/local/etc/nginx/
51 9:20 ls
52 9:20 nano nginx.conf
53 9:24 service ngnix restart
54 9:24 service ngnix onerestart
55 9:24 service nginx stop
56 9:24 service nginx start
57 9:24 nano nginx.conf
58 9:29 service nginx stop
59 9:29 service nginx start
60 9:31 nano nginx.conf
61 19:00 cd /usr/local/etc/nginx/
62 19:00 ls
63 19:00 nano nginx.conf
64 19:02 service nginx start
65 19:02 service nginx onestart
66 19:03 nano nginx.conf
67 19:06 service nginx start
68 21:39 nano usr/local/www/nginx
69 21:40 nano usr/local/etc/nginx/nginx.conf
70 21:47 cd usr/local/etc/nginx/nginx.conf
71 21:48 cd usr/local/etc/nginx/
72 21:48 cp nginx.conf nginx.conf.save
73 21:48 service nginix status
74 21:49 service nginx status
75 21:49 service nginx start
76 21:50 sudo service nginx start
77 21:50 service nginx start
78 21:50 service nginx start
79 21:50 nano /usr/local/etc/nginx/nginx.conf
80 21:52 service nginx start
81 21:52 cd /usr/local/etc/nginx/
82 21:53 cp nginx.conf nginx.conf.save
83 21:54 service nginx enable
84 21:57 nano nginx.conf
85 21:58 service nginx restart
86 21:58 nano nginx.conf
87 22:12 service nginx restart
88 22:12 nano nginx.conf
89 22:13 service nginx restart
90 22:49 cd /usr/local/etc/nginx/
91 22:49 nano nginx.conf
92 22:51 cp nginx.conf nginx.conf.save2
93 22:53 nano nginx.conf
94 22:54 service nginx restart
95 22:54 nano nginx.conf
96 22:55 service nginx restart
97 22:55 service nginx restart
98 22:56 nano nginx.conf
99 22:56 service nginx restart
100 22:57 nano nginx.conf
101 22:58 service nginx restart
102 23:16 nano usr/local/etc/nginx/nginx.conf
103 20:23 history
104 20:23 nano /usr/local/etc/nginx/nginx.conf
105 20:33 service nginx status
106 20:33 service nginx restart
107 20:52 nano /usr/local/etc/nginx/nginx.conf
108 21:00 service nginx restart
109 21:00 nano /usr/local/etc/nginx/nginx.conf
110 21:01 service nginx restart
111 22:51 history
112 22:51 nano /usr/local/etc/nginx/nginx.conf
113 22:53 service nginx restart
114 22:53 nano /usr/local/etc/nginx/nginx.conf
115 22:54 service nginx restart
116 23:02 nano /usr/local/etc/nginx/nginx.conf
117 23:03 service nginx restart
118 23:03 nano /usr/local/etc/nginx/nginx.conf
119 23:04 service nginx restart
120 23:04 nano /usr/local/etc/nginx/nginx.conf
121 23:12 nano /usr/local/etc/nginx/nginx.conf
122 23:12 service nginx restart
123 23:14 cd /usr/local/etc/nginx/nginx.conf
124 23:14 cd /usr/local/etc/nginx/
125 23:14 cp nginx.conf nginx.conf.save3
126 23:14 nano nginx.conf
127 23:15 service nginx restart
128 10:32 nano /usr/local/etc/nginx/nginx.conf
129 10:33 nano /usr/local/etc/nginx/nginx.conf
130 10:33 service nginx restart
131 10:34 nano /usr/local/etc/nginx/nginx.conf
132 10:35 service nginx restart
133 10:36 nano /usr/local/etc/nginx/nginx.conf
134 10:38 service nginx restart
135 10:38 nano /usr/local/etc/nginx/nginx.conf
136 10:38 service nginx restart
137 10:59 nano /usr/local/etc/nginx/nginx.conf
138 11:00 service nginx restart
139 11:00 nano /usr/local/etc/nginx/nginx.conf
140 11:01 service nginx restart
141 11:01 nano /usr/local/etc/nginx/nginx.conf
142 11:01 service nginx restart
143 21:48 nano /usr/local/etc/nginx/nginx.conf
144 21:49 service nginx restart
145 0:28 nano /usr/local/etc/nginx/nginx.conf
146 0:29 nano /usr/local/etc/nginx/nginx.conf~
147 0:29 cd /usr/local/etc/nginx/
148 0:30 cp nginx.conf nginx.conf.save4
149 0:30 mkdir services
150 0:30 nano nginx.conf
151 0:31 nano nginx.conf
152 0:34 cd services/
153 0:34 nano plex.conf
154 0:35 nano photos.conf
155 0:35 nano pad.conf
156 0:35 nano cloud.conf
157 0:35 service nginx restart
158 0:36 nano nms.conf
159 0:36 service nginx restart
160 0:39 nano nms.conf
161 0:40 service nginx restart
162 0:40 nano nms.conf
163 0:40 service nginx restart
164 0:41 nano nms.conf
165 0:45 service nginx restart
166 22:13 history
167 22:13 nano /usr/local/etc/nginx/services/nms.conf
168 22:20 ip a
169 22:59 l
170 22:59 cd /usr/local/etc/nginx/services/
171 22:59 cp pad.conf bitwarden.conf
172 23:00 nano bitwarden.conf
173 23:01 service nginx restart
174 11:59 ls
175 11:59 cd /usr/local/etc/nginx/services/
176 11:59 nano bitwarden.conf
177 12:00 service nginx restart
178 12:37 nano bitwarden.conf
179 12:38 service nginx restart
180 12:45 nano bitwarden.conf
181 12:45 service nginx restart
182 19:28 cd /usr/local/etc/nginx/services/
183 19:28 nano bitwarden.conf
184 19:29 service nginx restart
185 21:37 nano bitwarden.conf
186 21:38 service nginx restart
187 21:38 nano bitwarden.conf
188 21:38 service nginx restart
189 7:56 ls
190 7:56 hiqtory
191 7:57 history
192 7:58 history | grep certbot
193 7:59 certbot certonly --dns-ovh --dns-ovh-credentials /root/.ovhapi -d '*.lefloch.eu'
194 21:32 service nginx restart
195 21:59 cd /usr/local/etc/nginx/services/
196 21:59 ls
197 21:59 nano plex.conf
198 22:00 cp plex.conf localization.conf
199 22:00 nano localization.conf
200 22:00 service nginx restart
201 22:01 nano localization.conf
202 22:03 service nginx restart
203 22:03 nano localization.conf
204 22:03 service nginx restart
205 22:48 nano localization.conf
206 22:49 service nginx restart
207 22:51 nano localization.conf
208 22:51 service nginx restart
209 21:45 cd /usr/local/etc/nginx/services/
210 21:45 nano localization.conf
211 21:45 service nginx restart
212 21:46 nano localization.conf
213 21:46 service nginx restart
214 21:46 nano localization.conf
215 21:46 nano localization.conf
216 21:48 service nginx restart
217 22:25 nano localization.conf
218 22:26 service nginx restart
219 22:26 nano localization.conf
220 22:52 cd /usr/local/etc/nginx/services/
221 22:52 nano localization.conf
222 22:52 y
223 22:52 cp photos.conf localization.conf
224 22:52 nano localization.conf
225 22:53 service nginx restart
226 22:53 nano localization.conf
227 22:53 service nginx restart
228 22:35 ls
229 22:37 lls
230 22:43 pkg
231 22:43 pkg install unzip
232 22:44 cd /www/rmess
233 22:44 ls
234 22:45 ip
235 22:45 ip
236 22:47 cd /usr/local/etc/nginx/services/
237 22:47 ls
238 22:52 fpt
239 22:52 sftp
240 22:52 sftp root@YoGiTqFCMH8miuwCJql9
241 22:53 sftp root@192.168.0.13
242 22:54 ls
243 22:57 mkdir /www/rmess
244 22:57 mkdir /www/
245 22:57 mkdir /www/rmess
246 22:57 cp rmess.zip /www/rmess/
247 22:57 mr rmess.zip
248 22:57 rm rmess.zip
249 22:57 cd /www/rmess
250 22:58 unzip
251 22:58 unzip rmess.zip
252 22:58 ls
253 22:58 cd /usr/local/etc/nginx/services/
254 22:58 ls
255 22:59 cp plex.conf rmess.conf
256 22:59 nano rmess.conf
257 23:00 service nginx restart
258 23:38 cd /usr/local/etc/nginx/services/
259 23:38 ls
260 23:39 cd ..
261 23:39 ls
262 23:39 nano nginx.conf
263 16:37 cd /usr/local/etc/nginx/services/
264 16:37 ls
265 16:37 cp photos.conf adefault.conf
266 16:37 nano adefault.conf
267 16:38 service nginx restart
268 16:38 nano bitwarden.conf
269 16:39 ls
270 16:39 cd ..
271 16:39 ls
272 16:40 nano nginx.conf
273 16:40 cd s
274 16:40 cd services/
275 16:40 ls
276 16:41 nano bitwarden.conf
277 16:42 ls
278 16:42 nano adefault.conf
279 16:43 service nginx restart
280 16:53 nano adefault.conf
281 17:39 cd /usr/local/etc/nginx/services/
282 17:39 nano adefault.conf
283 17:39 cp adefault.conf nginxtest.conf
284 17:39 nano nginxtest.conf
285 17:40 service nginx restart
286 7:28 history
287 7:29 certbot certonly --dns-ovh --dns-ovh-credentials /root/.ovhapi -d '*.lefloch.eu'
288 7:49 service nginx restart
289 7:30 cd /usr/local/etc/nginx/services/
290 7:30 ls
291 7:30 nano bitwarden.conf
292 19:58 cd /usr/local/etc/nginx/services/
293 19:58 ls
294 19:58 rm bitwarden.conf
295 19:59 service nginx restart
296 22:30 history
297 22:32 certbot certonly --dns-ovh --dns-ovh-credentials /root/.ovhapi -d '*.lefloch.eu'
298 22:35 service nginx restart
299 22:35 crontab -e
300 22:36 crontab -e
301 21:36 certbot certonly --dns-ovh --dns-ovh-credentials /root/.ovhapi -d '*.lefloch.eu'
302 21:39 service nginx restart
303 22:43 cd /usr/local/etc/nginx/services/
304 22:43 ls
305 22:44 nano photos.conf
306 22:44 service nginx restart
307 13:53 certbot certonly --dns-ovh --dns-ovh-credentials /root/.ovhapi -d '*.lefloch.eu'
308 13:58 service nginx restart
309 16:25 certbot certonly --dns-ovh --dns-ovh-credentials /root/.ovhapi -d '*.lefloch.eu'
310 16:27 service nginx restart
311 21:38 service nginx restart
312 15:50 service nginx restart
313 15:50 certbot certonly --dns-ovh --dns-ovh-credentials /root/.ovhapi -d '*.lefloch.eu'
314 15:52 service nginx restart
315 9:40 sudi
316 9:40 sudo
317 9:40 cd /etc/network
318 9:41 cd /etc/networks
319 9:41 history
320 9:41 cd /usr/local/etc/nginx/services/
321 9:41 ls
322 9:42 nano plex.conf
323 9:42 nano enshrouded.conf
324 9:43 ls
325 9:43 cd ..
326 9:43 ls
327 9:43 nano nginx.conf
328 9:43 ls
329 9:44 cd services/
330 9:44 ks
331 9:44 ls
332 9:44 service nginx restart
333 10:06 service nginx restart
334 10:06 ls
335 10:06 nano enshrouded.conf
336 10:10 service nginx restart
337 18:01 certbot certonly --dns-ovh --dns-ovh-credentials /root/.ovhapi -d '*.lefloch.eu'
338 18:04 service nginx restart
339 8:37 cd services/
340 8:37 ls
341 8:37 cd /usr/local/etc/nginx/services/
342 8:37 ls
343 8:38 vim photos.conf
344 8:38 nano photos.conf
345 8:38 ls
346 8:38 service nginx restart
347 9:40 certbot certonly --dns-ovh --dns-ovh-credentials /root/.ovhapi -d '*.lefloch.eu'
348 14:40 service nginx restart
349 22:42 cd /usr/local/etc/nginx/services/
350 22:42 certbot certonly --dns-ovh --dns-ovh-credentials /root/.ovhapi -d '*.lefloch.eu'
351 22:45 service nginx restart
352 11:29 certbot certonly --dns-ovh --dns-ovh-credentials /root/.ovhapi -d '*.lefloch.eu'
353 11:31 service nginx restart
354 20:12 history
355 20:13 cd /usr/local/etc/nginx/services/
356 20:13 ls
357 20:13 cp plex.conf foundry.conf
358 20:13 vim foundry.conf
359 20:13 nano foundry.conf
360 20:16 service nginx restart
361 20:27 nano foundry.conf
362 20:28 service nginx restart
363 21:30 history

View File

@@ -0,0 +1,4 @@
dns_ovh_endpoint = ovh-eu
dns_ovh_application_key = 387def5f6eb780a5
dns_ovh_application_secret = 0494f538dc933b62e74b4bedafd126e6
dns_ovh_consumer_key = b51bee289c5a19e8c0017ca315de6675

View File

@@ -0,0 +1,30 @@
server {
#listen 80;
listen 443 ssl;
server_name *.lefloch.eu;
#server_name localhost;
ssl_certificate /usr/local/etc/letsencrypt/live/lefloch.eu/fullchain.pem;
ssl_certificate_key /usr/local/etc/letsencrypt/live/lefloch.eu/privkey.pem;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
# root /usr/local/www/nginx;
# index index.html index.htm;
proxy_pass http://192.168.0.102:80;
proxy_set_header Host $host;
}
# Enforce HTTPS
#return 301 https://$server_name$request_uri;
}

View File

@@ -0,0 +1,37 @@
server {
# listen 80;
listen 443 ssl;
server_name cloud.lefloch.eu;
#server_name localhost;
ssl_certificate /usr/local/etc/letsencrypt/live/lefloch.eu/fullchain.pem;
ssl_certificate_key /usr/local/etc/letsencrypt/live/lefloch.eu/privkey.pem;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
#charset koi8-r;
#access_log logs/host.access.log main;
location /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav;
}
location /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav;
}
location / {
# root /usr/local/www/nginx;
# index index.html index.htm;
proxy_pass http://192.168.0.18;
}
# Enforce HTTPS
#return 301 https://$server_name$request_uri;
}

View File

@@ -0,0 +1,40 @@
server {
#listen 80;
listen 15637;
server_name enshrouded.lefloch.eu;
#server_name localhost;
ssl_certificate /usr/local/etc/letsencrypt/live/lefloch.eu/fullchain.pem;
ssl_certificate_key /usr/local/etc/letsencrypt/live/lefloch.eu/privkey.pem;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
# root /usr/local/www/nginx;
# index index.html index.htm;
proxy_pass http://192.168.0.102:15637;
}
# Enforce HTTPS
#return 301 https://$server_name$request_uri;
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/local/www/nginx-dist;
}
}

View File

@@ -0,0 +1,35 @@
server {
listen 443 ssl;
server_name foundry.lefloch.eu;
ssl_certificate /usr/local/etc/letsencrypt/live/lefloch.eu/fullchain.pem;
ssl_certificate_key /usr/local/etc/letsencrypt/live/lefloch.eu/privkey.pem;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
proxy_pass http://192.168.0.102:30000;
# 🔑 WebSocket support
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
# Headers classiques
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_read_timeout 86400;
proxy_send_timeout 86400;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/local/www/nginx-dist;
}
}

View File

@@ -0,0 +1,29 @@
server {
#listen 80;
listen 443 ssl;
server_name 5gloc.lefloch.eu;
#server_name localhost;
ssl_certificate /usr/local/etc/letsencrypt/live/lefloch.eu/fullchain.pem;
ssl_certificate_key /usr/local/etc/letsencrypt/live/lefloch.eu/privkey.pem;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
# root /usr/local/www/nginx;
# index index.html index.htm;
proxy_pass http://192.168.0.101:32779;
}
# Enforce HTTPS
#return 301 https://$server_name$request_uri;
}

View File

@@ -0,0 +1,54 @@
#user nobody;
worker_processes 1;
# This default error log path is compiled-in to make sure configuration parsing
# errors are logged somewhere, especially during unattended boot when stderr
# isn't normally logged anywhere. This path will be touched on every nginx
# start regardless of error log location configured here. See
# https://trac.nginx.org/nginx/ticket/147 for more info.
#
#error_log /var/log/nginx/error.log;
#
#pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
#gzip on;
server {
listen 80;
server_name localhost;
return 301 https://$host$request_uri;
}
include services/*.conf;
# redirect HTPP to HTTPS
server {
listen 80 default_server;
server_name _;
return 301 https://$host$request_uri;
}
}

View File

@@ -0,0 +1,30 @@
server {
#listen 80;
listen 443 ssl;
server_name nginx.lefloch.eu;
#server_name localhost;
ssl_certificate /usr/local/etc/letsencrypt/live/lefloch.eu/fullchain.pem;
ssl_certificate_key /usr/local/etc/letsencrypt/live/lefloch.eu/privkey.pem;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
# root /usr/local/www/nginx;
# index index.html index.htm;
proxy_pass http://192.168.0.102:32779;
proxy_set_header Host $host;
}
# Enforce HTTPS
#return 301 https://$server_name$request_uri;
}

View File

@@ -0,0 +1,30 @@
server {
#listen 80;
listen 443 ssl;
server_name nms.lefloch.eu;
#server_name localhost;
ssl_certificate /usr/local/etc/letsencrypt/live/lefloch.eu/fullchain.pem;
ssl_certificate_key /usr/local/etc/letsencrypt/live/lefloch.eu/privkey.pem;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
# root /usr/local/www/nginx;
# index index.html index.htm;
proxy_pass http://192.168.0.18:8080/;
proxy_set_header Host $Host;
}
# Enforce HTTPS
#return 301 https://$server_name$request_uri;
}

View File

@@ -0,0 +1,29 @@
server {
# listen 80;
listen 443 ssl;
server_name pad.lefloch.eu;
#server_name localhost;
ssl_certificate /usr/local/etc/letsencrypt/live/lefloch.eu/fullchain.pem;
ssl_certificate_key /usr/local/etc/letsencrypt/live/lefloch.eu/privkey.pem;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
# root /usr/local/www/nginx;
# index index.html index.htm;
proxy_pass http://192.168.0.18:9001;
}
# Enforce HTTPS
#return 301 https://$server_name$request_uri;
}

View File

@@ -0,0 +1,29 @@
server {
#listen 80;
listen 443 ssl;
server_name photos.lefloch.eu;
#server_name localhost;
ssl_certificate /usr/local/etc/letsencrypt/live/lefloch.eu/fullchain.pem;
ssl_certificate_key /usr/local/etc/letsencrypt/live/lefloch.eu/privkey.pem;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
# root /usr/local/www/nginx;
# index index.html index.htm;
proxy_pass http://192.168.0.26:80;
}
# Enforce HTTPS
#return 301 https://$server_name$request_uri;
}

View File

@@ -0,0 +1,39 @@
server {
#listen 80;
listen 443 ssl;
server_name plex.lefloch.eu;
#server_name localhost;
ssl_certificate /usr/local/etc/letsencrypt/live/lefloch.eu/fullchain.pem;
ssl_certificate_key /usr/local/etc/letsencrypt/live/lefloch.eu/privkey.pem;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
# root /usr/local/www/nginx;
# index index.html index.htm;
proxy_pass http://192.168.0.29:32400;
}
# Enforce HTTPS
#return 301 https://$server_name$request_uri;
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/local/www/nginx-dist;
}
}

View File

@@ -0,0 +1,39 @@
server {
#listen 80;
listen 443 ssl;
server_name rmess.lefloch.eu;
#server_name localhost;
ssl_certificate /usr/local/etc/letsencrypt/live/lefloch.eu/fullchain.pem;
ssl_certificate_key /usr/local/etc/letsencrypt/live/lefloch.eu/privkey.pem;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
root /www/rmess;
index index.html index.htm;
# proxy_pass http://192.168.0.29:32400;
}
# Enforce HTTPS
#return 301 https://$server_name$request_uri;
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/local/www/nginx-dist;
}
}

View File

@@ -0,0 +1,570 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Séminaire au vert 2023</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta content="" name="keywords" />
<meta content="" name="description" />
<!-- Favicon -->
<link href="img/logo_RMESS-300x120.webp" rel="icon" />
<!-- Google Web Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Saira:wght@500;600;700&display=swap"
rel="stylesheet"
/>
<!-- Icon Font Stylesheet -->
<link
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css"
rel="stylesheet"
/>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.1/font/bootstrap-icons.css"
rel="stylesheet"
/>
<!-- Libraries Stylesheet -->
<link href="lib/animate/animate.min.css" rel="stylesheet" />
<link href="lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet" />
<!-- Customized Bootstrap Stylesheet -->
<link href="css/bootstrap.min.css" rel="stylesheet" />
<!-- Template Stylesheet -->
<link href="css/style.css" rel="stylesheet" />
</head>
<body>
<!-- Spinner Start -->
<div
id="spinner"
class="show bg-white position-fixed translate-middle w-100 vh-100 top-50 start-50 d-flex align-items-center justify-content-center"
>
<div class="spinner-grow text-primary" role="status"></div>
</div>
<!-- Spinner End -->
<!-- Navbar Start -->
<div
class="container-fluid fixed-top px-0 wow fadeIn"
data-wow-delay="0.1s"
>
<div
class="top-bar text-white-50 row gx-0 align-items-center d-none d-lg-flex"
>
<div class="col-lg-6 px-5 text-start">
<small
><i class="fa fa-map-marker-alt me-2"></i> 444 ROUTE DE LABORDE,
81170 Cordes-sur-Ciel</small
>
<small class="ms-4"
><i class="fa fa-envelope me-2"></i>antonin.lefloch@irit.fr</small
>
</div>
</div>
<nav
class="navbar navbar-expand-lg navbar-dark py-lg-0 px-lg-5 wow fadeIn"
data-wow-delay="0.1s"
>
<a class="navbar-brand ms-4 ms-lg-0">
<h1 class="fw-bold text-primary m-0">
<span class="text-white">Séminaire au Vert 2023</span>
</h1>
</a>
<button
type="button"
class="navbar-toggler me-4"
data-bs-toggle="collapse"
data-bs-target="#navbarCollapse"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<div class="navbar-nav ms-auto p-4 p-lg-0">
<a href="index.html" class="nav-item nav-link active">Home</a>
<a href="mailto: antonin.lefloch@irit.fr" class="nav-item nav-link"
>Contact</a
>
</div>
<div class="d-none d-lg-flex ms-2"></div>
</div>
</nav>
</div>
<!-- Navbar End -->
<!-- Carousel Start -->
<div class="container-fluid p-0 mb-5">
<div id="header-carousel" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<img class="w-100" src="img/hotel-la-metairie.jpg" alt="Image" />
<div class="carousel-caption">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-7 pt-5">
<h1 class="display-4 text-white mb-3 animated slideInDown">
Séminaire au vert 2023
</h1>
<p class="fs-5 text-white-50 mb-5 animated slideInDown">
Avec liens utiles, programme des activités et menu.
</p>
<p class="display-7 text-white mb-3 animated slideInDown">
Adresse : Château de Laborde, 81170 Cordes-sur-Ciel
</p>
<p>
<button
type="button"
onclick="location.href='https://goo.gl/maps/Vo5vUosVoJUCokHQ7'"
class="collapsible btn btn-primary py-2 px-3 animated slideInDown"
>
Trajet
</button>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Carousel End -->
<style>
ul,
li {
list-style: none;
padding: 0;
}
.container_edt {
display: flex;
justify-content: center;
align-items: center;
padding: 0 1rem;
padding: 1rem 0;
}
.wrapper_edt {
padding: 2rem;
border-radius: 15px;
}
.wrapper_edt_droit {
padding: 2rem;
border-radius: 15px;
width: 25%;
float: right;
}
h1 {
font-size: 1.1rem;
font-family: sans-serif;
}
.sessions {
margin-top: 2rem;
border-radius: 12px;
position: relative;
}
li {
padding-bottom: 1.5rem;
border-left: 1px solid #abaaed;
position: relative;
padding-left: 20px;
margin-left: 10px;
&:last-child {
border: 0px;
padding-bottom: 0;
}
&:before {
content: "";
width: 15px;
height: 15px;
background: white;
border: 1px solid #4e5ed3;
box-shadow: 3px 3px 0px #bab5f8;
box-shadow: 3px 3px 0px #bab5f8;
border-radius: 50%;
position: absolute;
left: -10px;
top: 0px;
}
}
.time {
color: #2a2839;
font-weight: 500;
@include mobile-and-up {
font-size: 0.9rem;
}
@include mobile-only {
margin-bottom: 0.3rem;
font-size: 0.85rem;
}
}
p {
color: #4f4f4f;
line-height: 1.5;
margin-top: 0.4rem;
@include mobile-only {
font-size: 0.9rem;
}
}
@media only screen and (max-width: 600px) {
.container_edt {
display: flex;
justify-content: center;
position: relative;
align-items: center;
padding: 0 1rem;
padding: 1rem 0;
}
.wrapper_edt {
padding: 0rem;
border-radius: 0px;
}
.wrapper_edt_droit {
padding: 1rem;
border-radius: 6px;
width: 60%;
float: right;
}
}
</style>
<div class="container-xxl bg-light my-5 py-5">
<div class="container py-5">
<div
class="text-center mx-auto mb-5 wow fadeInUp"
data-wow-delay="0.1s"
style="
max-width: 500px;
visibility: visible;
animation-delay: 0.1s;
animation-name: fadeInUp;
"
>
<h1 class="display-6 mb-5">Planning des présentations</h1>
</div>
<div
class="container_edt mx-auto mb-1 wow fadeInUp"
data-wow-delay="0.1s"
>
<a
class="display-6 mb-5"
href="https://docs.google.com/spreadsheets/d/1MwCPIElo8uKpJXJ_pmzWLiHTfmGFq94YexHdFi1XzAg/edit#gid=1374981024"
class="nav-item nav-link active"
>Lien</a
>
</div>
</div>
</div>
<!-- Planing Start -->
<div class="container-xxl bg-light my-5 py-5">
<div class="container py-5">
<div
class="text-center mx-auto mb-5 wow fadeInUp"
data-wow-delay="0.1s"
style="
max-width: 500px;
visibility: visible;
animation-delay: 0.1s;
animation-name: fadeInUp;
"
>
<h1 class="display-6 mb-5">Planning des évènements</h1>
</div>
<div
class="container_edt mx-auto mb-5 wow fadeInUp"
data-wow-delay="0.1s"
>
<div class="wrapper_edt" style="width: 50%; float: left">
<h1>Lundi 17</h1>
<ul class="sessions">
<li>
<div class="time">16h30</div>
<p>Départ de Toulouse</p>
</li>
<li>
<div class="time">18h</div>
<p>Arrivée et prise des chambres</p>
</li>
<li>
<div class="time">19h30</div>
<p>Dîner</p>
</li>
</ul>
</div>
<style></style>
<div class="wrapper_edt_droit">
<h1>Mardi 18</h1>
<ul class="sessions">
<li>
<div class="time">À partir de 7h</div>
<p>Petit Déjeuner</p>
</li>
<li>
<div class="time">9h30 - 12h</div>
<p>Présentations</p>
</li>
<li>
<div class="time">12h - 14h</div>
<p>Déjeuner</p>
</li>
<li>
<div class="time">14h - 16h</div>
<p>Présentations</p>
</li>
<li>
<div class="time">16h - 16h30</div>
<p>Pause</p>
</li>
<li>
<div class="time">À partir de 16h30</div>
<p>Moment convivial</p>
</li>
<li>
<div class="time">19h30</div>
<p>Dîner</p>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- Planning End -->
<!-- Repas Start -->
<div class="container-xxl bg-light my-5 py-5">
<div class="container py-5">
<div
class="text-center mx-auto mb-5 wow fadeInUp"
data-wow-delay="0.1s"
style="
max-width: 500px;
visibility: visible;
animation-delay: 0.1s;
animation-name: fadeInUp;
"
>
<h1 class="display-6 mb-5">Menu</h1>
</div>
<div class="row g-4 justify-content-center">
<div
class="col-lg-4 col-md-6 wow fadeInUp"
data-wow-delay="0.1s"
style="
visibility: visible;
animation-delay: 0.1s;
animation-name: fadeInUp;
"
>
<div
class="causes-item d-flex flex-column bg-white border-top border-5 border-primary rounded-top overflow-hidden h-100"
>
<div class="text-center p-4 pt-0">
<div
class="d-inline-block bg-primary text-white rounded-bottom fs-5 pb-1 px-3 mb-4"
>
<small>Lundi Soir</small>
</div>
<h5 class="mb-3">Dîner</h5>
<p>
<b>Entrée</b> Tartare de légumes de soleil & son fromage frais
</p>
<p>
<b>Plat</b> Pavé de saumon accompagné de gratins de pâtes aux
légumes
</p>
<p><b>Dessert</b> Tarte Tatin</p>
</div>
<div class="position-relative mt-auto">
<img class="img-fluid" src="img/33079988.webp" alt="" />
</div>
</div>
</div>
<div
class="col-lg-4 col-md-6 wow fadeInUp"
data-wow-delay="0.3s"
style="
visibility: visible;
animation-delay: 0.3s;
animation-name: fadeInUp;
"
>
<div
class="causes-item d-flex flex-column bg-white border-top border-5 border-primary rounded-top overflow-hidden h-100"
>
<div class="text-center p-4 pt-0">
<div
class="d-inline-block bg-primary text-white rounded-bottom fs-5 pb-1 px-3 mb-4"
>
<small>Mardi Midi</small>
</div>
<h5 class="mb-3">Déjeuner</h5>
<p><b>Entrée</b> Salade de gésiers de canard confit</p>
<p>
<b>Plat</b> Délicieuse cuisse de canard confite avec pomme de
terre grenaille & haricots verts
</p>
<p><b>Dessert</b> Salade de fruits</p>
</div>
<div class="position-relative mt-auto">
<img
class="img-fluid"
src="img/74073_w1024h768c1cx1872cy2808.webp"
alt=""
/>
</div>
</div>
</div>
<div
class="col-lg-4 col-md-6 wow fadeInUp"
data-wow-delay="0.5s"
style="
visibility: visible;
animation-delay: 0.5s;
animation-name: fadeInUp;
"
>
<div
class="causes-item d-flex flex-column bg-white border-top border-5 border-primary rounded-top overflow-hidden h-100"
>
<div class="text-center p-4 pt-0">
<div
class="d-inline-block bg-primary text-white rounded-bottom fs-5 pb-1 px-3 mb-4"
>
<small>Mardi Soir</small>
</div>
<h5 class="mb-3">Cocktail dinatoire</h5>
<p>Assortiment de petits plats.</p>
<button
type="button"
class="collapsible btn btn-primary py-2 px-3 animated slideInDown"
>
Détail
</button>
<div class="content">
<p>Plateau de charcuterie</p>
<p>Plateau de canapés prestige</p>
<p>Brochette Yakitori</p>
<p>Assortiment de Mini Quiche</p>
<p>Assainissement de mini lunch</p>
<p>Verrine Cocktail</p>
<p>Assortiment de mignardise</p>
<p>Vins (1bte/4pax)</p>
</div>
<style>
.content {
padding: 0 18px;
background-color: white;
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
}
</style>
<script>
var coll = document.getElementsByClassName("collapsible");
var i;
for (i = 0; i < coll.length; i++) {
coll[i].addEventListener("click", function () {
this.classList.toggle("active");
var content = this.nextElementSibling;
if (content.style.display === "block") {
content.style.display = "none";
} else {
content.style.display = "block";
}
});
}
var coll = document.getElementsByClassName("collapsible");
var i;
for (i = 0; i < coll.length; i++) {
coll[i].addEventListener("click", function () {
this.classList.toggle("active");
var content = this.nextElementSibling;
if (content.style.maxHeight) {
content.style.maxHeight = null;
} else {
content.style.maxHeight = content.scrollHeight + "px";
}
});
}
</script>
</div>
<div class="position-relative mt-auto">
<img class="img-fluid" src="img/3-1024x683.png" alt="" />
</div>
</div>
</div>
</div>
<p class="fs-9 mb-9 animated slideInDown">Photos non contractuelles.</p>
</div>
</div>
<!-- Repas End -->
<!-- Footer Start -->
<div
class="container-fluid bg-dark text-white-50 footer mt-5 pt-5 wow fadeIn"
data-wow-delay="0.1s"
>
<div class="container py-5">
<div class="row g-5">
<div class="col-lg-3 col-md-6">
<h5 class="text-light mb-4">Adresse</h5>
<p>
<i class="fa fa-map-marker-alt me-3"></i> 444 ROUTE DE LABORDE,
81170 Cordes-sur-Ciel
</p>
</div>
<div class="col-lg-3 col-md-6">
<h5 class="text-light mb-4">Mail</h5>
<p>antonin.lefloch@irit.fr</p>
</div>
</div>
</div>
</div>
<!-- Footer End -->
<!-- Back to Top -->
<a href="#" class="btn btn-lg btn-primary btn-lg-square back-to-top"
><i class="bi bi-arrow-up"></i
></a>
<!-- JavaScript Libraries -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0/dist/js/bootstrap.bundle.min.js"></script>
<script src="lib/wow/wow.min.js"></script>
<script src="lib/easing/easing.min.js"></script>
<script src="lib/waypoints/waypoints.min.js"></script>
<script src="lib/owlcarousel/owl.carousel.min.js"></script>
<script src="lib/parallax/parallax.min.js"></script>
<!-- Template Javascript -->
<script src="js/main.js"></script>
</body>
<!-- SOURCE https://technext.github.io/chariteam/ -->
</html>

Binary file not shown.