ソースを参照

Vuelvo a poner dominio reymota.es

Celestino Rey 9 ヶ月 前
コミット
157d5fbb82
2 ファイル変更2 行追加16 行削除
  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