Browse Source

Vuelvo a poner dominio reymota.es

Celestino Rey 11 tháng trước cách đây
mục cha
commit
157d5fbb82
2 tập tin đã thay đổi với 2 bổ sung và 16 xóa
  1. 0 14
      K8S/static-topolvm-pvc.yaml
  2. 2 2
      src/gestion_reservas/settings.py

+ 0 - 14
K8S/static-topolvm-pvc.yaml

@@ -1,14 +0,0 @@
-apiVersion: v1
-kind: PersistentVolumeClaim
-metadata:
-  labels:
-    io.kompose.service: static-volume
-  name: static-volume
-  namespace: jugaralpadel
-spec:
-  accessModes:
-    - ReadWriteOnce
-  resources:
-    requests:
-      storage: 70Mi
-  storageClassName: topolvm-provisioner

+ 2 - 2
src/gestion_reservas/settings.py

@@ -35,9 +35,9 @@ DEBUG = os.environ.get('DEBUG', 'False') == 'True'
 OPENSHIFT = os.environ.get('OPENSHIFT', 'False') == 'True'
 LOCAL = os.environ.get('LOCAL', 'False') == 'True'
 
-ALLOWED_HOSTS = [".ocp-cluster.reymota.lab", "*.rancher.lab", "jugaralpadel.es"]
+ALLOWED_HOSTS = [".ocp-cluster.reymota.lab", "*.rancher.lab", "jugaralpadel.es", ".reymota.es"]
 
-CSRF_TRUSTED_ORIGINS = ["https://*.ocp-cluster.reymota.lab", "http://*.rancher.lab", "https://jugaralpadel.es"]
+CSRF_TRUSTED_ORIGINS = ["https://*.ocp-cluster.reymota.lab", "http://*.rancher.lab", "https://jugaralpadel.es", "https://*.reymota.es"]
 
 # Application definition