You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

adding-custom-domains.md 1.1 KiB

[docs] Translation of the Guides And Resources section in bench to Spanish (#3747) * Add basic files structure for spanish translation of the doc * Translate the video tutorial index page * Translate Before Start page * Translate What is an app page * Translate the Bench page * Translate Conslusion page of the tutorial * Translate to spanish Tutorial Index page * Translate to spanish Reports page * Translate to Spanish Roles Page * Translate to Spanish the Tutorial Model Page * Translate to Spanish the tutorial Single Doctypes page * Translate to Spanish the tutorial Doctype files structure page * Translate to Spanish the tutorial Start Bench page * Translate to Spanish the tutorial New App page * Translate to Spanish the tutorial Client Side Script page * Translate to Spanish the tutorial Users and records page * Translate to Spanish the tutorial Setting Up the site page * Translate to Spanish the tutorial Task Runner page * Translate to Spanish the tutorial Controllers Page * Translate to Spanish the tutorial Doctypes page * Translate to Spanish the tutorial Naming And Linking page * Translate to Spanish the tutorial Web Views page * Add basic file structure to translate the bench section of the tutorial * [docs] Translate to Spanish the tutorial Adding custom domain page * [docs] Translate to Spanish the tutorial Configuring HTTPS page * [docs] Translate to Spanish the tutorial Diagnosing the Scheduler page * [docs] Translate to Spanish the tutorial Settings Site Limits\ page * [docs] Translate to Spanish the tutorial Setup Production page * [docs] Translate to Spanish the tutorial Bench ProcFile page * [docs] Translate to Spanish the tutorial Manual Setup page * [docs] Translate to Spanish the tutorial Background Services page * [docs] Translate to Spanish the tutorial Lets Encrypt Setup page * [docs] Translate to Spanish the tutorial Setup Multitenancy page * [docs] Translate to Spanish the tutorial Bench Commands page
8 years ago
12345678910111213141516171819202122232425262728
  1. # Agregando dominios personalizados a su Site
  2. Puedes agregar **multiples dominios personalizados** para un site, ejecutando el comando:
  3. bench setup add-domain [dominio]
  4. Al ejecutar el comando debes especificar para cual site quieres establecer el dominio personalizado.
  5. También, puedes configurar el SSL para su dominio personalizado usando las opciones:
  6. --ssl-certificate [ruta-al-certificado]
  7. --ssl-certificate-key [ruta-a-la--clave-certificado]
  8. Ejemplo:
  9. bench setup add-domain custom.erpnext.com --ssl-certificate /etc/letsencrypt/live/erpnext.cert --ssl-certificate-key /etc/letsencrypt/live/erpnext.key
  10. La configuración el dominio es almacenada en las configuraciones del site en su archivo site_config.json
  11. "domains": [
  12. {
  13. "ssl_certificate": "/etc/letsencrypt/live/erpnext.cert",
  14. "domain": "erpnext.com",
  15. "ssl_certificate_key": "/etc/letsencrypt/live/erpnext.key"
  16. }
  17. ],
  18. **Luego debes regenerar las configuraciones de nginx ejecutando el comando `bench setup nginx` y reiniciando el servicio de nginx para que los cambios de los dominios tomen efecto**