diff --git a/data/projects/219c3d17-9914-4735-a591-908e589ebbef/sketch.ino b/data/projects/219c3d17-9914-4735-a591-908e589ebbef/sketch.ino new file mode 100644 index 0000000..c21afe5 --- /dev/null +++ b/data/projects/219c3d17-9914-4735-a591-908e589ebbef/sketch.ino @@ -0,0 +1,11 @@ +// Arduino Blink Example +void setup() { + pinMode(LED_BUILTIN, OUTPUT); +} + +void loop() { + digitalWrite(LED_BUILTIN, HIGH); + delay(1000); + digitalWrite(LED_BUILTIN, LOW); + delay(1000); +} \ No newline at end of file diff --git a/nginx-host-velxio-temp.conf b/nginx-host-velxio-temp.conf new file mode 100644 index 0000000..b8faa2c --- /dev/null +++ b/nginx-host-velxio-temp.conf @@ -0,0 +1,19 @@ +# Configuración temporal SIN SSL para obtener certificado +server { + listen 80; + server_name velxio.dev www.velxio.dev; + + # Let's Encrypt challenge + location /.well-known/acme-challenge/ { + root /var/www/html; + } + + # Proxy temporal al contenedor + location / { + proxy_pass http://127.0.0.1:3080; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + } +}