Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

455
Views
Implementación del contenedor Docker con NGINX en un dominio

Después de presionar a DockerHub y etiquetar con éxito una imagen, puedo crear de forma remota un contenedor acoplable en una gota de Digital Ocean. Eso es bueno, pero como alojo más de un sitio web en esta IP, uso el NginX server . Mi objetivo es tener la configuración nginx de example.com , para configurar e implementar el contenedor docker en este sitio web (example.com) con Engine-X.

 docker stack deploy -c ~/etc/example.com/docker-compose.yml example.com

Traté de especificar la ruta, también creando la ventana acoplable basada en la imagen NGINX, pero nada funcionó para mí.

Mi configuración de nginx example.com:

 server { root /etc/example.com/docker-compose.yml (???); index index.html index.htm index.nginx-debian.html; (??) server_name example.com www.example.com; location / { try_files $uri $uri/ =404; } listen [::]:443 ssl; # managed by Certbot listen 443 ssl; # managed by Certbot ssl_certificate /etc/letsencrypt/live/bratac.net/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/bratac.net/privkey.pem; # managed by Certbot include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot } server { if ($host = www.example.com) { return 301 https://$host$request_uri; } # managed by Certbot if ($host = example.com) { return 301 https://$host$request_uri; } # managed by Certbot listen 80; listen [::]:80; server_name example.com www.example.com; return 404; # managed by Certbot }

Cualquier pensamiento sería apreciado, realmente no sé qué hacer a continuación, investigué profundamente en la red ...

Saludos

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!