728x90
728x90

VIM config


set number                     # 줄 번호 표시
set tabstop=4                  # tab을 4칸으로
set ignorecase                 # 검색시 대소문자 구별하지 않음
set hlsearch                   # 검색시 하이라이트
set fileencodings=utf-8,euc-kr # 파일인코딩 형식
set bs=indent,eol,start        # backspace 키 사용
set ruler                      # 상태표시줄 커서 위치 표시
set title                      # 제목 표시
set showmatch                  # 매칭되는 괄호 표시
set nowrap                     # 자동 줄바꿈 해제
set wmnu                       # tab 자동완성시 가능한 목록 표시
syntax on                      # 문법 하이라이트

RaspberryPi Wifi Config


interface wlan0
static ip_address = 
static routers = 

Nginx


return 301 https://$host$request_uri

Certbot install


snap install --classic certbot
ln -s /snap/bin/certbot /usr/bin/certbot
728x90

'개발일기' 카테고리의 다른 글

[TIL#12]  (0) 2023.06.21
[어렵다어려워] 목표를 세우자!  (0) 2023.06.19
[TIL#10]  (0) 2023.06.12
[TIL #8]  (0) 2023.06.09
[TIL#9]  (2) 2023.06.09
728x90

Ubuntu


  1. sudo apt-get install openjdk-11-jdk
  2. 서버 시간 맞추기
  • timedatectl
  • timedatectl list-timezones
  • sudo timedatectl set-timezone Asia/Seoul

Certbot + boot


  1. sudo certbot certonly --standalone
  2. sudo certbot certonly --webroot
  3. return 301 https://$host$request_uri;
  4. openssl pkcs12 -export -in fullchain.pem -inkey privkey.pem -out keystore.p12 -name tomcat -CAfile chain.pem -caname root
    server.ssl.key-store=classpath:keystore.p12
    server.ssl.key-store-type=PKCS12
    server.ssl.key-store-password=내가정한password

React + Spring Boot Set-Cookie


  1. SameSite : None
  2. Secure : true
  3. withCredential
  4. CORS
  5. httpOnly : true
728x90
728x90
728x90

+ Recent posts