diff --git a/docker/default.conf b/docker/default.conf index d35647c..8beb81f 100644 --- a/docker/default.conf +++ b/docker/default.conf @@ -15,6 +15,11 @@ server { ssl_certificate /etc/nginx/certs/server.crt; # Ruta al certificado ssl_certificate_key /etc/nginx/certs/server.key; # Ruta a la clave + location /opengnsys/rest/ous// { + rewrite ^/opengnsys/rest/ous//([0-9]+)/images /opengnsys/rest/ous/$1/images; + rewrite ^/opengnsys/rest/ous//([0-9]+)/labs /opengnsys/rest/ous/$1/labs; + } + # Bloque principal para archivos location / { try_files $uri $uri/ /index.php?$args;