diff --git a/Nginx/miweb-deployment.yaml b/Nginx/miweb-deployment.yaml index 358bc8a4..3e979b8c 100644 --- a/Nginx/miweb-deployment.yaml +++ b/Nginx/miweb-deployment.yaml @@ -54,7 +54,8 @@ spec: name: "nginx-http" volumeMounts: - name: nginx-www-folder - mountPath: /config/www + #mountPath: /config/www + mountPath: /config #mountPath: /usr/local/apache2/htdocs volumes: - name: nginx-www-folder diff --git a/Nginx/upload.php b/Nginx/upload.php new file mode 100644 index 00000000..1565cbbb --- /dev/null +++ b/Nginx/upload.php @@ -0,0 +1,39 @@ + + + +Fichero subido correctamente

'; +} else { + echo '
Ha habido algún error #: '.$_FILES['file']['error']; + echo '
El fichero es: '.$_FILES['file']['name'].' para guardar en '.$location; +} + +?> + + + diff --git a/Nginx/uploader.php b/Nginx/uploader.php new file mode 100644 index 00000000..6d37eee8 --- /dev/null +++ b/Nginx/uploader.php @@ -0,0 +1,15 @@ + + + + Subir fichero de música + + + + +
+ + +
+ + +