What do you want to save?
Add Code snippet
New code examples
-
SQL 2021-10-10 16:29:02
psql: error: could not connect to server: received invalid response to ssl negotiation: h
# Nginx conf events {} stream { upstream postgres { server pdb:5432; } server { listen 5432; proxy_pass postgres; } } ############### # haproxy conf global log 127.0.0.1 local1 maxconn 4096 defaults mode http maxconn 2048 ... Add solution -
Shell/Bash 2021-09-03 03:55:03
cp: cannot stat 'default.conf': No such file or directory
FROM nginx:1.16.0-alpine COPY --from=builder /app/build /usr/share/nginx/html RUN rm /etc/nginx/conf.d/default.conf COPY nginx/nginx.conf /etc/nginx/conf.d EXPOSE 80 CMD ["nginx", "-g", "daemon off;"] Add solution -
Shell/Bash 2021-08-31 11:11:02
how to increase nginx maximum file upload size
sudo nano /etc/nginx/nginx.conf # edit/add the following line client_max_body_size 8M; # put the size that is enough sudo nano /etc/php/php.ini # edit the following upload_max_filesize=8M # also put what is enough Add solution -
Shell/Bash 2021-08-28 09:12:01
install laravel on ubuntu 20.04
1. Install Prerequisites Install the software dependencies. $ sudo apt install -y php-mbstring php-xml php-fpm php-zip php-common php-fpm php-cli unzip curl nginx Install Composer: $ sudo curl -s https://getcomposer.org/installer | php $ sudo mv compose... Add solution -
Other 2021-08-27 18:02:02
nginx config
$ nginx -t nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful $ nginx -V nginx version: nginx/1.11.1 built by gcc 4.9.2 (Debian 4.9.2-10) built with OpenSSL 1.0.1k 8 Jan 201... Add solution
Best helpers
Ranking is empty