ÿØÿàJFIFÿÛ„ ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /var/www/html/vidoe.top/proxy/logs/curl/www/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/html/vidoe.top/proxy/logs/curl/www/Dockerfile
# Use phusion/baseimage with a specific version as base image.
# See https://github.com/phusion/baseimage-docker/blob/master/Changelog.md for a list of version numbers.
# FROM phusion/baseimage:<VERSION>
FROM phusion/baseimage:0.9.19

# Use baseimage-docker's init system.
CMD ["/sbin/my_init"]

# BEGIN Build instructions =============================================================================================

# Enable SSH.
RUN rm -f /etc/service/sshd/down

# Regenerate SSH host keys. baseimage-docker does not contain any, so you
# have to do that yourself. You may also comment out this instruction; the
# init system will auto-generate one during boot.
RUN /etc/my_init.d/00_regen_ssh_host_keys.sh

# Install nginx mainline.
# "We recommend that in general you deploy the NGINX mainline branch at all times." - nginx.com
RUN add-apt-repository -y ppa:nginx/development
RUN apt-get update
RUN apt-get -y install nginx
RUN echo "nginx version: $(nginx -v)"
RUN echo '\
server {\n\
    listen 80 default_server;\n\
    listen [::]:80 default_server;\n\
\n\
    root /var/www;\n\
    index index.php;\n\
\n\
    charset utf-8;\n\
\n\
    server_name _;\n\
    server_tokens off;\n\
\n\
    location / {\n\
        try_files $uri $uri/ =404;\n\
    }\n\
\n\
    location ~ \.php$ {\n\
        include snippets/fastcgi-php.conf;\n\
        fastcgi_pass unix:/run/php/php7.0-fpm.sock;\n\
    }\n\
}'\
> /etc/nginx/sites-enabled/default
# Fix: "nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)".
RUN echo "daemon off;" >> /etc/nginx/nginx.conf

# Install PHP.
# Avoid "debconf: unable to initialize frontend: Dialog" by using DEBIAN_FRONTEND=noninteractive before install command.
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install php7.0-fpm
RUN echo "php version: $(php -v)"

# Add nginx daemon.
RUN mkdir /etc/service/nginx
RUN echo '#!/usr/bin/env bash\nnginx' > /etc/service/nginx/run
RUN chmod +x /etc/service/nginx/run

# Add php-fpm daemon.
RUN mkdir /etc/service/php-fpm
RUN echo '#!/usr/bin/env bash\nservice php7.0-fpm start' > /etc/service/php-fpm/run
RUN chmod +x /etc/service/php-fpm/run

# Add homepage.
ADD index.php /var/www/

# END Build instructions ===============================================================================================

# Clean up APT when done.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

ZeroDay Forums Mini